-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
37 lines (35 loc) · 1.27 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
from setuptools import setup
try:
import re
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
long_description = re.sub("[.][.] figure.*?:alt:", "", long_description, flags=re.M+re.S)
except Exception as e:
# pandoc or pypandoc is not installed, fallback to using raw contents
with open('README.md') as f:
long_description = f.read()
setup(
name='parallelpipe',
version='0.3.0',
author='Giuseppe Tribulato',
py_modules=['parallelpipe'],
url='https://github.com/gtsystem/parallelpipe',
license='MIT',
description='Pipeline parallelization library',
long_description_content_type='text/markdown',
install_requires=['dill'],
long_description=long_description,
classifiers=(
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11'
),
)