2018-07-25 17:55:12 +00:00
|
|
|
"""
|
|
|
|
Copyright (C) 2018 NuCypher
|
|
|
|
|
|
|
|
This file is part of pyUmbral.
|
|
|
|
|
|
|
|
pyUmbral is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
pyUmbral is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with pyUmbral. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
"""
|
|
|
|
|
2018-07-08 23:14:50 +00:00
|
|
|
import os
|
2017-12-28 01:06:20 +00:00
|
|
|
|
2018-08-19 00:51:25 +00:00
|
|
|
from setuptools import setup
|
2018-07-09 21:06:24 +00:00
|
|
|
|
2018-07-08 23:45:11 +00:00
|
|
|
BASE_DIR = os.path.dirname(__file__)
|
2018-07-08 22:41:24 +00:00
|
|
|
|
2018-07-08 23:45:11 +00:00
|
|
|
ABOUT = dict()
|
|
|
|
with open(os.path.join(BASE_DIR, "umbral", "__about__.py")) as f:
|
|
|
|
exec(f.read(), ABOUT)
|
|
|
|
|
|
|
|
|
|
|
|
with open(os.path.join(BASE_DIR, "README.rst")) as f:
|
|
|
|
long_description = f.read()
|
2018-07-08 22:41:24 +00:00
|
|
|
|
2017-12-28 01:06:20 +00:00
|
|
|
|
2018-08-19 00:51:25 +00:00
|
|
|
INSTALL_REQUIRES = ['setuptools',
|
|
|
|
'cryptography>=2.3',
|
2018-07-08 23:45:11 +00:00
|
|
|
'pynacl',
|
2018-08-19 00:51:25 +00:00
|
|
|
'byteStringSplitter']
|
2018-07-09 21:06:24 +00:00
|
|
|
|
|
|
|
EXTRAS_REQUIRE = {'testing': ['bumpversion',
|
2018-08-19 00:51:25 +00:00
|
|
|
'hypothesis',
|
2018-07-09 21:06:24 +00:00
|
|
|
'pytest',
|
|
|
|
'pytest-mypy',
|
|
|
|
'pytest-mock',
|
2018-08-19 00:51:25 +00:00
|
|
|
'pytest-cov',
|
2018-07-09 21:06:24 +00:00
|
|
|
'mock',
|
|
|
|
'coverage',
|
|
|
|
'codecov',
|
|
|
|
'monkeytype==18.2.0'],
|
2018-07-08 23:14:50 +00:00
|
|
|
|
2018-07-08 23:45:11 +00:00
|
|
|
'docs': ['sphinx', 'sphinx-autobuild'],
|
2018-07-09 21:06:24 +00:00
|
|
|
|
2018-07-08 23:45:11 +00:00
|
|
|
'benchmarks': ['pytest-benchmark'],
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
setup(name=ABOUT['__title__'],
|
|
|
|
version=ABOUT['__version__'],
|
|
|
|
author=ABOUT['__author__'],
|
|
|
|
description=ABOUT['__summary__'],
|
|
|
|
long_description=long_description,
|
|
|
|
extras_require=EXTRAS_REQUIRE,
|
2017-12-28 01:06:20 +00:00
|
|
|
install_requires=INSTALL_REQUIRES,
|
2018-07-08 23:14:50 +00:00
|
|
|
packages=['umbral'],
|
2018-07-08 23:45:11 +00:00
|
|
|
|
2018-07-08 23:14:50 +00:00
|
|
|
classifiers=[
|
2018-07-08 23:45:11 +00:00
|
|
|
"Development Status :: 2 - Pre-Alpha",
|
|
|
|
"Intended Audience :: Science/Research",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
2018-07-08 23:14:50 +00:00
|
|
|
"Natural Language :: English",
|
2018-07-08 23:45:11 +00:00
|
|
|
"Programming Language :: Python :: Implementation",
|
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
2018-07-08 23:14:50 +00:00
|
|
|
"Programming Language :: Python :: 3.5",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
2018-07-08 23:45:11 +00:00
|
|
|
"Topic :: Scientific/Engineering",
|
2018-07-08 23:14:50 +00:00
|
|
|
]
|
|
|
|
)
|