forked from OpenMined/PySyft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (34 loc) · 1.23 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
import os
import unittest
from setuptools import find_packages
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def my_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('test', pattern='*_test.py')
return test_suite
requirements = read('requirements.txt').split()
setup(
name="syft",
version="0.1.0",
author="Andrew Trask",
author_email="[email protected]",
description=("A Library for Private, Secure Deep Learning"),
license="Apache-2.0",
keywords="deep learning artificial intelligence homomorphic encryption",
packages=find_packages(exclude=['docs', 'examples', 'dist']),
include_package_data=True,
long_description=read('README.md'),
url='github.com/OpenMined/PySyft',
classifiers=[
"Development Status :: 1 - Alpha",
],
install_requires=requirements,
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest-flake8'],
)