-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (24 loc) · 986 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
import os
from setuptools import setup, find_packages
setup_py_dir = os.path.dirname(os.path.abspath(__file__))
os.chdir(setup_py_dir)
with open(file="requirements.txt", mode="r", encoding='utf-8') as fh:
requirements = fh.readlines()
install_requires = [req.strip() for req in requirements if
not req.strip().startswith('#') and not req.strip().startswith('http') and req.strip()]
dependency_links = [req.strip() for req in requirements if req.strip().startswith('http')]
setup(name='mymllib',
version="1.0.0",
description="A library for generic functions and utils for ML!",
packages=find_packages(),
install_requires=requirements,
test_suite='tests',
scripts=[],
zip_safe=False,
license='',
author='AI Team',
author_email='[email protected]',
include_package_data=True,
long_description="A python module for ML tasks.",
dependency_links=dependency_links
)