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
|
2018-07-08 22:41:24 +00:00
|
|
|
from distutils.core import setup
|
2017-12-28 01:06:20 +00:00
|
|
|
|
2018-07-08 23:14:50 +00:00
|
|
|
base_dir = os.path.dirname(__file__)
|
|
|
|
src_dir = os.path.join(base_dir, "src")
|
2018-07-08 22:41:24 +00:00
|
|
|
|
2018-07-08 23:14:50 +00:00
|
|
|
about = {}
|
|
|
|
with open(os.path.join(src_dir, "umbral", "__about__.py")) as f:
|
|
|
|
exec(f.read(), about)
|
2018-07-08 22:41:24 +00:00
|
|
|
|
|
|
|
INSTALL_REQUIRES = ['msgpack-python', 'pynacl']
|
2017-12-28 01:06:20 +00:00
|
|
|
|
|
|
|
TESTS_REQUIRE = [
|
|
|
|
'pytest',
|
|
|
|
'coverage',
|
|
|
|
'pytest-cov',
|
|
|
|
'pdbpp',
|
|
|
|
'ipython'
|
|
|
|
]
|
|
|
|
|
2018-07-08 23:14:50 +00:00
|
|
|
|
|
|
|
setup(name=about['__title__'],
|
|
|
|
version=about['__version__'],
|
|
|
|
author=about['__author'],
|
|
|
|
description=about["__summary__"],
|
|
|
|
long_description_markdown_filename='README.md',
|
2017-12-28 01:06:20 +00:00
|
|
|
extras_require={'testing': TESTS_REQUIRE},
|
|
|
|
install_requires=INSTALL_REQUIRES,
|
2018-07-08 23:14:50 +00:00
|
|
|
packages=['umbral'],
|
|
|
|
classifiers=[
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Programming Language :: Python :: 3.5",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
]
|
|
|
|
)
|