-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
67 lines (60 loc) · 1.94 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2018 Malcolm Ramsay <[email protected]>
#
# Distributed under terms of the MIT license.
from setuptools import find_packages, setup
# Get the version from src/experi/version.py without importing the package
def get_version():
g = {}
exec(open("src/experi/version.py").read(), g)
return g["__version__"]
with open("README.md") as f:
long_description = f.read()
install_require = ["click", "pyyaml>=5.0", "numpy"]
dev_require = [
"mypy==0.761",
"pylint==2.4.4",
"pytest==5.3.2",
"black==19.10b0",
"coverage==5.0.3",
"pytest-cov==2.8.1",
"hypothesis>=4.42.0,<6.0",
"attrs>=19.2",
]
docs_require = ["sphinx", "sphinx-autobuild", "sphinx-rtd-theme", "sphinx-click"]
setup(
name="experi",
version=get_version(),
python_requires=">=3.6",
setup_requires=[],
install_requires=install_require,
extras_require={"dev": dev_require, "docs": docs_require},
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
entry_points="""
[console_scripts]
experi=experi.run:main
""",
url="https://github.com/malramsay64/experi",
author="Malcolm Ramsay",
author_email="[email protected]",
description="An interface for managing computational experiments with many independent variables.",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)