forked from OpenMined/PyDP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·65 lines (53 loc) · 1.72 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
# stdlib
import os
from typing import List
# third party
from setuptools import find_packages
from setuptools import setup
from setuptools.dist import Distribution
class BinaryDistribution(Distribution):
"""This class is needed in order to create OS specific wheels."""
def has_ext_modules(self):
return True
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname), encoding="utf-8") as fp:
return fp.read()
requirements: List[str] = []
setup_requirements: List[str] = []
setup(
author="Chinmay Shah",
author_email="[email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
description="Python API for Google's Differential Privacy library",
distclass=BinaryDistribution,
install_requires=requirements,
license="Apache-2.0",
long_description=read("docs/readme.rst"),
long_description_content_type="text/x-rst",
include_package_data=True,
keywords="pydp",
name="python-dp",
package_dir={"": "src"},
package_data={
"pydp": ["_pydp.so", "_pydp.pyd"],
},
packages=find_packages(where="src", exclude=["tests"]),
setup_requires=setup_requirements,
python_requires=">=3.7",
test_suite="tests",
url="https://github.com/OpenMined/PyDP",
version="1.1.3rc6",
zip_safe=False,
)