-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (34 loc) · 875 Bytes
/
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
from setuptools import setup
import configparser
import os
requirements = []
f = open('requirements.txt', 'r')
while True:
l = f.readline()
if l == '':
break
requirements.append(l.rstrip())
f.close()
f = open('README.md', 'r')
description = f.read()
f.close()
setup(
install_requires=requirements,
extras_require={
'xdg': "pyxdg~=0.27",
},
license_files= ('LICENSE',),
python_requires = '>=3.7',
include_package_data = True,
packages = [
'chainlib',
'chainlib.cli',
'chainlib.runnable',
],
scripts = [
'scripts/chainlib-man.py',
],
data_files=[("man/man1", ['man/build/chainlib-gen.1'],)],
long_description=description,
long_description_content_type='text/markdown',
)