-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
45 lines (38 loc) · 1.61 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
from setuptools import setup
from parallelforeachsubmodule.metadata import Metadata
from io import open
metadata = Metadata()
with open("README.md", "r", encoding="utf-8") as rst_file:
long_description = rst_file.read()
def requirements():
"""Build the requirements list for this project"""
requirements_list = []
with open('requirements.txt') as requirements:
for install in requirements:
requirements_list.append(install.strip())
return requirements_list
setup(
name='pfs',
packages=['parallelforeachsubmodule'],
install_requires=requirements(),
version=metadata.get_version(),
license='LGPL v3',
description='Tool for "git submodule foreach" execution in parallel ',
long_description_content_type="text/markdown",
long_description=long_description,
author=metadata.get_author(),
author_email='[email protected]',
url='https://github.com/RDCH106/parallel_foreach_submodule',
download_url='https://github.com/RDCH106/parallel_foreach_submodule/archive/v'+metadata.get_version()+'.tar.gz',
entry_points={
'console_scripts': ['pfs=parallelforeachsubmodule.main:main'],
},
keywords='git parallel submodule windows gnu-linux',
classifiers=['Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'],
)