-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
71 lines (57 loc) · 1.67 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from setuptools import setup, find_packages
__version__ = '0.2.1'
requirements = [
"torch==2.2.2",
"torchdata==0.7.1",
"torchvision==0.17.2",
"torchtext==0.17.2",
"portalocker==2.10.0",
"numpy==1.26.3",
"scipy==1.13.1",
"scikit-learn==1.5.1",
"pyyaml==6.0.1",
"tqdm==4.66.4",
"matplotlib==3.9.1",
"pytest==8.3.3",
]
test_requirements = [
"pytest>=6"
]
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
long_description_type = "text/markdown"
setup(
name="tinybig",
version=__version__,
author="Jiawei Zhang",
author_email="[email protected]",
description="tinybig library for deep function learning",
long_description=long_description,
long_description_content_type=long_description_type,
keywords=[
"tinybig",
"rpn",
"deep function learning",
"data transformation function",
"data interdependence function",
"parameter reconciliation function",
"remainder function",
"reconciled polynomial network",
],
url="https://www.tinybig.org",
download_url="https://github.com/jwzhanggy/tinyBIG",
packages=find_packages(include=["tinybig", "tinybig.*"]),
license="MIT License",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.10',
install_requires=requirements,
test_suite="tests",
tests_require=test_requirements,
)
# python setup.py sdist bdist_wheel
# to testpypi: twine upload --repository testpypi dist/*
# to pypi: twine upload dist/*