-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
48 lines (41 loc) · 1.89 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
import pathlib
import setuptools
def read(HERE: pathlib.Path, filename, variable):
namespace = {}
exec(open(HERE / "torchdatasets" / filename).read(), namespace) # get version
return namespace[variable]
HERE = pathlib.Path(__file__).resolve().parent
setuptools.setup(
name=read(HERE, pathlib.Path("_name.py"), "_name"),
version=read(HERE, pathlib.Path("_version.py"), "__version__"),
license="MIT",
author="Szymon Maszke",
author_email="[email protected]",
description="PyTorch based library focused on data processing and input pipelines in general.",
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
url="https://github.com/szymonmaszke/torchdatasets",
packages=setuptools.find_packages(),
install_requires=open("environments/requirements.txt").read().splitlines(),
python_requires=">=3.6",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
],
project_urls={
"Website": "https://szymonmaszke.github.io/torchdatasets",
"Documentation": "https://szymonmaszke.github.io/torchdatasets/#torchdatasets",
"Issues": "https://github.com/szymonmaszke/torchdatasets/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc",
},
keywords="pytorch torch data datasets map cache memory disk apply database",
)