-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
54 lines (49 loc) · 1.75 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
import init
import setuptools
with open("README.md", "r", encoding="UTF-8") as file:
long_description = file.read()
requirements = []
with open("requirements.lib.txt", "r", encoding="UTF-8") as file:
for line in file:
requirements.append(line.strip())
version = init.read_version()
init.write_version(version)
setuptools.setup(
name="marlin_pytorch",
version=version,
author="ControlNet",
author_email="[email protected]",
description="Official pytorch implementation for MARLIN.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ControlNet/MARLIN",
project_urls={
"Bug Tracker": "https://github.com/ControlNet/MARLIN/issues",
"Source Code": "https://github.com/ControlNet/MARLIN",
},
keywords=["deep learning", "pytorch", "AI"],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src", include=["marlin_pytorch", "marlin_pytorch.*"]),
package_data={
"marlin_pytorch": [
"version.txt"
]
},
python_requires=">=3.6",
install_requires=requirements,
license="CC BY-NC 4.0",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Multimedia :: Video",
],
)