-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·103 lines (82 loc) · 3.4 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
92
93
94
95
96
97
98
99
100
101
102
103
#! /usr/bin/env python
import sys
from setuptools import setup
install_requires = ['cloudpickle']
########### last version to support python2 is 0.29 ####
if sys.version_info[0] < 3:
sys.exit('This version of doit is only supported by Python 3.\n' +
'Please use doit==0.29.0 with Python 2.')
########################################################
########### platform specific stuff #############
import platform
platform_system = platform.system()
# auto command dependencies to watch file-system
if platform_system == "Darwin":
install_requires.append('macfsevents')
elif platform_system == "Linux":
install_requires.append('pyinotify')
##################################################
######### python version specific stuff ##########
# pathlib is the part of the Python standard library since 3.4 version.
if sys.version_info < (3, 4):
install_requires.append('pathlib')
##################################################
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.30.3',
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.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'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",
packages = ['doit'],
install_requires = install_requires,
# extra_requires with environment markers can be used only
# newer versions of setuptools that most users do not have
# installed. So wait for a while before use them (2017-02)
# extras_require={
# ':python_version <= "3.3"': ['pathlib'],
# ':sys.platform == "darwin"': ['macfsevents'],
# ':sys.platform == "linux"': ['pyinotify'],
# },
long_description = long_description,
entry_points = {
'console_scripts': [
'doit = doit.__main__:main'
]
},
)