-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
66 lines (54 loc) · 1.91 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
# -*- coding: utf-8 -*-
# flake8: noqa
"""Installation script."""
#------------------------------------------------------------------------------
# Imports
#------------------------------------------------------------------------------
import os.path as op
import re
from setuptools import setup, find_packages
#------------------------------------------------------------------------------
# Setup
#------------------------------------------------------------------------------
curdir = op.dirname(op.realpath(__file__))
with open(op.join(curdir, 'README.md')) as f:
readme = f.read()
# Find version number from `__init__.py` without executing it.
filename = op.join(curdir, 'mtscomp.py')
with open(filename, 'r') as f:
version = re.search(r"__version__ = '([^']+)'", f.read()).group(1)
setup(
name='mtscomp',
version=version,
license="BSD",
description='Lossless compression for electrophysiology time-series',
long_description=readme,
long_description_content_type='text/markdown',
author='Cyrille Rossant (International Brain Laboratory)',
author_email='cyrille.rossant@gmail.com',
url='https://github.com/int-brain-lab/mtscomp',
py_modules=['mtscomp'],
packages=find_packages(),
package_dir={'mtscomp': 'mtscomp'},
package_data={
'mtscomp': [],
},
entry_points={
'console_scripts': [
'mtscomp=mtscomp:mtscomp',
'mtsdecomp=mtscomp:mtsdecomp',
'mtsdesc=mtscomp:mtsdesc',
'mtschop=mtscomp:mtschop',
],
},
include_package_data=True,
keywords='lossless,compresssion,electrophysiology,neuroscience',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
)