-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
47 lines (39 loc) · 1.39 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
from setuptools import setup
import os
def get_description():
return 'A library of composable Python executors'
def get_long_description():
if os.environ.get('USE_PANDOC') != '1':
return
import pypandoc
converted = pypandoc.convert('README.md', 'rst')
# The README starts with the same text as "description",
# which makes sense, but on PyPI causes same text to be
# displayed twice. So let's strip that.
return converted.replace(get_description() + '.\n\n', '', 1)
setup(
name='more-executors',
version='1.16.0.dev0',
author='Rohan McGovern',
author_email='[email protected]',
packages=['more_executors'],
url='https://github.com/rohanpm/more-executors',
license='GNU General Public License',
description=get_description(),
long_description=get_long_description(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=[
'futures;python_version<"3"',
'six',
'monotonic',
],
)