-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (46 loc) · 1.42 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
"""Installing with setuptools."""
import setuptools
from setuptools.dist import Distribution
class BinaryDistribution(Distribution):
"""This class is needed in order to create OS specific wheels."""
def is_pure(self):
return False
def has_ext_modules(self):
return True
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="tf-big",
version="0.2.1",
packages=setuptools.find_packages(),
package_data={
'': ['*.so'],
},
python_requires=">=3.5",
install_requires=[
"pip>=20.1.1",
"numpy>=1.14",
],
extras_require={
"tf": ["tensorflow~=2.2.0"],
"nightly": ["tf-nightly"],
},
license="Apache License 2.0",
url="https://github.com/tf-encrypted/tf-big",
description="Arbitrary precision integers in TensorFlow.",
long_description=long_description,
long_description_content_type="text/markdown",
author="The TF Encrypted Authors",
author_email="contact@tf-encrypted.io",
include_package_data=True,
zip_safe=False,
distclass=BinaryDistribution,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 2 - Pre-Alpha",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Security :: Cryptography",
]
)