-
Notifications
You must be signed in to change notification settings - Fork 383
/
setup.py
executable file
·48 lines (42 loc) · 1.5 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
from pathlib import Path
from setuptools import setup, find_packages
import os
classifiers = """
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Utilities
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Software Development :: Libraries :: Python Modules
License :: OSI Approved :: MIT License
"""
try:
from sacred import __about__
about = __about__.__dict__
except ImportError:
# installing - dependencies are not there yet
# Manually extract the __about__
about = dict()
exec(open("sacred/__about__.py").read(), about)
setup(
name="sacred",
version=about["__version__"],
author=about["__author__"],
author_email=about["__author_email__"],
url=about["__url__"],
packages=find_packages(include=["sacred", "sacred.*"]),
package_data={"sacred": [os.path.join("data", "*"), "py.typed"]},
scripts=[],
python_requires=">=3.8",
install_requires=Path("requirements.txt").read_text().splitlines(),
tests_require=["mock>=3.0, <5.0", "pytest==7.1.2"],
classifiers=list(filter(None, classifiers.split("\n"))),
description="Facilitates automated and reproducible experimental research",
long_description=Path("README.rst").read_text(encoding="utf-8"),
)