forked from OpenMined/PyGrid-deprecated---see-PySyft-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (43 loc) · 1.54 KB
/
setup.py
File metadata and controls
48 lines (43 loc) · 1.54 KB
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
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.install import install
from setuptools.command.develop import develop
import platform
import subprocess
# 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()
# We need to add our rest api as a path since it is a separate application
# deployed on Heroku:
path = os.path.dirname(os.path.abspath(__file__)) + "/app/pg_rest_api"
sys.path.insert(0, path)
platform = platform.system()
setup(
name="grid",
version="0.1.0a1",
author="OpenMined",
author_email="contact@openmined.org",
description=(
(
"A machine learning framework backed by an "
"on-demand, parallel compute grid."
)
),
license="Apache-2.0",
keywords="deep learning artificial intelligence homomorphic encryption",
packages=find_packages(exclude=["notebooks", "test*", "dist"]),
include_package_data=True,
long_description=read("README.md"),
url="github.com/OpenMined/Grid",
classifiers=["Development Status :: 1 - Alpha"],
install_requires=read("requirements.txt").split(),
# setup_requires=['pytest-runner'],
tests_require=["pytest", "pytest-flake8"],
# cmdclass={'install': PostInstallCommand,
# 'develop': PostDevelopCommand},
scripts=[],
)