-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (31 loc) · 1.01 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
import os
import setuptools
from setuptools import setup
dependency_links = []
install_requires = []
with open(os.path.abspath(os.path.join(os.path.dirname(__file__), "requirements.txt"))) as f:
for line in f:
if line.startswith("#"):
continue
elif line.startswith("--extra-index-url"):
dependency_links.append(line.strip())
elif line.startswith("git"):
line = line.strip()
package_name = line.split("/")[-1].split("@")[0].split("@")[0]
install_requires.append(f'{package_name} @ {line}')
else:
install_requires.append(line.strip())
setup(name='WarpToolsWrapper',
version='0.4.2',
url='',
license='',
author='Pranav NM Shah',
packages=setuptools.find_packages(),
install_requires=install_requires,
dependency_links=dependency_links,
include_package_data=True,
entry_points={
'console_scripts': ['warper=warper.main:warper'],
},
zip_safe=False
)