-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (31 loc) · 1.18 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
from setuptools import find_packages, setup
from pathlib import Path
def read_requirements(path):
return list(Path(path).read_text().splitlines())
min_reqs = read_requirements(Path('.').parent.joinpath("requirements/min.txt"))
full_reqs = read_requirements(Path('.').parent.joinpath("requirements/full.txt"))
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='spinesUtils',
version="0.4.5",
description='spinesUtils is a user-friendly toolkit for the machine learning ecosystem.',
keywords='machine learning',
packages=find_packages(),
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
url='https://github.com/BirchKwok/spinesUtils',
author='Birch Kwok',
author_email='[email protected]',
install_requires=min_reqs,
extras_require={"all": full_reqs},
zip_safe=False,
include_package_data=True
)