-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
56 lines (52 loc) · 1.88 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt") as f:
required = f.read().splitlines()
"""
release checklist:
1. update version on `setup.py`
2. update `__version__` on `torch_dreams/__init__.py`
3. run tests with this command `pytest torch_dreams/tests/`
4. commit changes (`setup.py`, `torch_dreams/__init__.py`) and push
5. make release on PyPI. Run the following commands:
5.1 `python3 setup.py sdist bdist_wheel`
5.2 (optional) `python3 -m pip install --user --upgrade twine`
5.3 `python3 -m twine upload dist/*`
6. make a new release on github with the latest version
"""
setuptools.setup(
name="torch-dreams",
version="4.0.0",
author="Mayukh Deb",
author_email="mayukhmainak2000@gmail.com",
description="Making neural networks more interpretable, for research and art",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Mayukhdeb/torch-dreams",
packages=setuptools.find_packages(),
install_requires=required,
python_requires=">=3.6",
include_package_data=True,
keywords=[
"PyTorch",
"machine learning",
"neural networks",
"convolutional neural networks",
"feature visualization",
"optimization",
],
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Natural Language :: English",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Python Modules",
],
test_suite="nose.collector",
tests_require=["nose"],
)