-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
52 lines (43 loc) · 1.7 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
import os
import setuptools
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
os.chdir(here)
with open(os.path.join(here, "README.md"), "r", encoding="utf-8") as f:
long_description = f.read()
version_contents = {}
with open(os.path.join(here, "ubiq_security", "version.py"), "r", encoding="utf-8") as f:
exec(f.read(), version_contents)
requirementPath = os.path.join(here, "requirements.txt")
install_requires = []
if os.path.isfile(requirementPath):
with open(requirementPath, "r", encoding="utf-8") as f:
install_requires = f.read().splitlines()
setuptools.setup(
name="ubiq-security",
version=version_contents["VERSION"],
author="Ubiq Security, Inc.",
author_email="support@ubiqsecurity.com",
description="Python client library for accessing Ubiq Platform",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://gitlab.com/ubiqsecurity/ubiq-python",
packages=setuptools.find_packages(),
install_requires=install_requires,
license="Free To Use But Restricted",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: Free To Use But Restricted",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security",
"Topic :: Security :: Cryptography"
],
python_requires='>=3.5',
)