-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (50 loc) · 1.62 KB
/
setup.py
File metadata and controls
60 lines (50 loc) · 1.62 KB
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
"""Distribution package setup script."""
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst')) as readme_file:
readme = readme_file.read()
try:
with open('CHANGELOG.rst') as changelog_file:
changelog = changelog_file.read()
long_description = '\n\n'.join((readme, changelog))
except FileNotFoundError:
long_description = readme
setup(
name='dsch',
description='Structured, metadata-enhanced data storage.',
long_description=long_description,
author="Manuel Webersen",
author_email='[email protected]',
url='https://github.com/emtpb/dsch/',
license="BSD",
# Automatically generate version number from git tags
use_scm_version=True,
# Automatically detect the packages and sub-packages
packages=find_packages(),
# Runtime dependencies
install_requires=[
'asciitree',
'numpy',
],
# Optional dependencies
extras_require={
'HDF5': ['h5py'],
'MAT': ['scipy'],
},
# Python version requirement
python_requires='>=3',
# Dependencies of this setup script
setup_requires=[
'setuptools_scm', # For automatic git-based versioning
],
# For a full list of valid classifiers, see:
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
],
)