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