generated from ArjunSahlot/module_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 loc) · 1.13 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
import os
import setuptools
PARDIR = os.path.realpath(os.path.dirname(__file__))
TNN = os.path.join(PARDIR, "tensornn")
with open(os.path.join(PARDIR, "README.md")) as f:
long_description = f.read()
with open(os.path.join(PARDIR, "requirements.txt")) as f:
reqs = f.read().strip().split("\n")
setuptools.setup(
name="tensornn",
version=os.getenv("PYPI_VERSION").split("/")[-1].strip(),
author="Arjun Sahlot",
author_email="[email protected]",
description="Machine learning library made from scratch",
long_description=long_description,
long_description_content_type="text/markdown",
license="GNU GPL v3",
url="https://github.com/ArjunSahlot/TensorNN",
keywords=["Machine Learning"],
py_modules=["tensornn"],
packages=setuptools.find_packages(),
install_requires=reqs,
python_requires=">=3",
classifiers=[
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
)