-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
47 lines (43 loc) · 1.52 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
import pathlib
from setuptools import setup
import sys
v = sys.version_info
if sys.version_info < (3, 5):
v = sys.version_info
print("FAIL: Requires Python 3.5 or later, but setup.py was run using %s.%s.%s" % (v.major, v.minor, v.micro))
print("NOTE: Installation failed. Run setup.py using python3")
sys.exit(1)
# The directory containing this file
HERE = pathlib.Path(__file__).parent
# The text of the README file
README = (HERE / "README.md").read_text()
# This call to setup() does all the work
setup(
name="sgl",
version="0.9.15",
description="Simple Grant Language",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/evernym/sgl",
author="Daniel Hardman",
author_email="[email protected]",
license="Apache 2.0",
keywords="sgl json dsl xacml authorization authz verifiable credentials did",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Development Status :: 4 - Beta"
],
packages=["sgl"],
#include_package_data=True, -- write a MANIFEST.in with glob patterns if uncommented
install_requires=[],
entry_points={
"console_scripts": [
"realpython=reader.__main__:main",
]
},
download_url='https://github.com/evernym/sgl/archive/v0.9.15.tar.gz',
)