-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (56 loc) · 2.57 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
from os import path
from io import open
from setuptools import setup, find_packages
this_directory = path.abspath ( path.dirname (__file__) )
## get __version__ from version.py
__version__ = None
ver_file = path.join ("tf_gen_models", "version.py")
with open (ver_file) as file:
exec ( file.read() )
## load README
def readme():
readme_path = path.join (this_directory, "README.md")
with open (readme_path, encoding = 'utf-8') as file:
return file.read()
## load requirements
def requirements():
requirements_path = path.join (this_directory, "requirements/base.txt")
with open (requirements_path, encoding="utf-8") as file:
return file.read() . splitlines()
setup (
name = "tf-gen-models",
version = __version__,
description = "Ready to use implementations of state-of-the-art generative models in TensorFlow 2",
long_description = readme(),
long_description_content_type = "text/markdown",
url = "https://github.com/mbarbetti/tf-gen-models",
author = "Matteo Barbetti",
author_email = "matteo.barbetti@fi.infn.it",
maintainer = "Matteo Barbetti",
maintainer_email = "matteo.barbetti@fi.infn.it",
license = "MIT",
keywords = ["machine-learning", "deep-learning", "tensorflow", "generative-models", "gan"],
packages = find_packages(),
package_data = {},
include_package_data = True,
install_requires = requirements(),
python_requires = ">=3.7, <4",
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)