1#! /usr/bin/env python3 2 3from __future__ import print_function 4import sys 5 6from setuptools import setup 7 8 9 10########### last version to support python2 is 0.29 #### 11try: 12 import pip 13 pip_version = tuple([int(x) for x in pip.__version__.split('.')[:3]]) 14 if pip_version < (9, 0, 1) : 15 pip_message = 'Your pip version is out of date, please install pip >= 9.0.1. '\ 16 'pip {} detected.'.format(pip.__version__) 17 print(pip_message, file=sys.stderr) 18 sys.exit(1) 19except Exception: 20 # what if someone does not have pip installed 21 pass 22 23######################################################## 24 25 26long_description = """ 27`doit` is a task management & automation tool 28 29`doit` comes from the idea of bringing the power of build-tools 30to execute any kind of **task** 31 32`doit` is a modern open-source build-tool written in python 33designed to be simple to use and flexible to deal with complex work-flows. 34It is specially suitable for building and managing custom work-flows where 35there is no out-of-the-box solution available. 36 37`doit` has been successfully used on: systems test/integration automation, 38scientific computational pipelines, content generation, 39configuration management, etc. 40 41`website/docs <http://pydoit.org>`_ 42""" 43 44setup(name = 'doit', 45 description = 'doit - Automation Tool', 46 version = '0.31.1', 47 license = 'MIT', 48 author = 'Eduardo Naufel Schettino', 49 author_email = 'schettino72@gmail.com', 50 url = 'http://pydoit.org', 51 classifiers = [ 52 'Development Status :: 5 - Production/Stable', 53 'Environment :: Console', 54 'License :: OSI Approved :: MIT License', 55 'Natural Language :: English', 56 'Operating System :: OS Independent', 57 'Operating System :: POSIX', 58 'Programming Language :: Python :: 3', 59 'Programming Language :: Python :: 3.4', 60 'Programming Language :: Python :: 3.5', 61 'Programming Language :: Python :: 3.6', 62 'Intended Audience :: Developers', 63 'Intended Audience :: Information Technology', 64 'Intended Audience :: Science/Research', 65 'Intended Audience :: System Administrators', 66 'Topic :: Software Development :: Build Tools', 67 'Topic :: Software Development :: Testing', 68 'Topic :: Software Development :: Quality Assurance', 69 'Topic :: Scientific/Engineering', 70 ], 71 keywords = "build make task automation pipeline", 72 73 packages = ['doit'], 74 python_requires='>=3.4', 75 install_requires = ['cloudpickle'], 76 extras_require={ 77 ':sys.platform == "darwin"': ['macfsevents'], 78 ':sys.platform == "linux"': ['pyinotify'], 79 }, 80 long_description = long_description, 81 entry_points = { 82 'console_scripts': [ 83 'doit = doit.__main__:main' 84 ] 85 }, 86 ) 87