-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
65 lines (59 loc) · 2.11 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
62
63
64
65
# Copyright IRT Antoine de Saint Exupéry et Université Paul Sabatier Toulouse III - All
# rights reserved. DEEL is a research program operated by IVADO, IRT Saint Exupéry,
# CRIAQ and ANITI - https://www.deel.ai/
# =====================================================================================
import setuptools
# read the contents of your README file
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
with open(path.join(this_directory, "deel/lip/VERSION")) as f:
version = f.read().strip()
dev_requires = [
"tox",
"black",
"flake8",
"flake8-black",
"numpy",
]
docs_requires = [
"mkdocs",
"mkdocs-material",
"mkdocstrings",
"mkdocstrings-python",
"mknotebooks",
"ipython", # required for Pygments
"black", # required for mkdocs signature rendering
]
setuptools.setup(
name="deel-lip",
version=version,
author=", ".join(["Mathieu SERRURIER", "Franck MAMALET", "Thibaut BOISSIN"]),
author_email=", ".join(
[
]
),
description="TensorFlow 2 implementation for k-Lipschitz layers",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/deel-ai/deel-lip",
packages=setuptools.find_namespace_packages(include=["deel.*"]),
include_package_data=True,
install_requires=["numpy", "tensorflow >= 2.2.0, < 2.16.0"],
license="MIT",
extras_require={"dev": dev_requires, "docs": docs_requires},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
)