|
1
|
|
|
#!/usr/bin/env python |
|
2
|
|
|
# coding=utf-8 |
|
3
|
|
|
from setuptools import setup |
|
4
|
|
|
|
|
5
|
|
|
classifiers = """ |
|
6
|
|
|
Development Status :: 5 - Production/Stable |
|
7
|
|
|
Intended Audience :: Science/Research |
|
8
|
|
|
Natural Language :: English |
|
9
|
|
|
Operating System :: OS Independent |
|
10
|
|
|
Programming Language :: Python :: 2.7 |
|
11
|
|
|
Programming Language :: Python :: 3.3 |
|
12
|
|
|
Programming Language :: Python :: 3.4 |
|
13
|
|
|
Topic :: Utilities |
|
14
|
|
|
Topic :: Scientific/Engineering |
|
15
|
|
|
Topic :: Scientific/Engineering :: Artificial Intelligence |
|
16
|
|
|
Topic :: Software Development :: Libraries :: Python Modules |
|
17
|
|
|
License :: OSI Approved :: MIT License |
|
18
|
|
|
""" |
|
19
|
|
|
|
|
20
|
|
|
try: |
|
21
|
|
|
from sacred import __about__ |
|
22
|
|
|
about = __about__.__dict__ |
|
23
|
|
|
except ImportError: |
|
24
|
|
|
# installing - dependencies are not there yet |
|
25
|
|
|
# Manually extract the __about__ |
|
26
|
|
|
about = dict() |
|
27
|
|
|
exec(open("sacred/__about__.py").read(), about) |
|
28
|
|
|
|
|
29
|
|
|
|
|
30
|
|
|
setup( |
|
31
|
|
|
name='sacred', |
|
32
|
|
|
version=about['__version__'], |
|
33
|
|
|
|
|
34
|
|
|
author=about['__author__'], |
|
35
|
|
|
author_email=about['__author_email__'], |
|
36
|
|
|
|
|
37
|
|
|
url=about['__url__'], |
|
38
|
|
|
|
|
39
|
|
|
packages=['sacred', 'sacred.observers', 'sacred.config'], |
|
40
|
|
|
scripts=[], |
|
41
|
|
|
install_requires=[ |
|
42
|
|
|
'docopt', 'six', 'wrapt' |
|
43
|
|
|
], |
|
44
|
|
|
tests_require=['mock', 'mongomock', 'pytest'], |
|
45
|
|
|
|
|
46
|
|
|
classifiers=list(filter(None, classifiers.split('\n'))), |
|
47
|
|
|
description='Facilitates automated and reproducible experimental research', |
|
48
|
|
|
long_description=open('README.rst').read() |
|
49
|
|
|
) |
|
50
|
|
|
|