-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (43 loc) · 1.43 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
# www.pythonhosted.org/setuptools/setuptools.html
exec(open('instamatic_stem/version.py').read()) # grab __version__, __author__, etc.
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
try:
long_description = read('README.rst')
except IOError:
long_description = read('README.md')
setup(
name=__title__,
version=__version__,
description=__description__,
long_description=long_description,
author=__author__,
author_email=__author_email__,
url=__url__,
classifiers=[
'Programming Language :: Python :: 3.6',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: Microsoft :: Windows',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Software Development :: Libraries'
],
packages=["instamatic_stem"],
install_requires=['sounddevice',
'numpy',
'matplotlib'],
package_data={
"": ["LICENCE", "readme.md", "setup.py"],
},
entry_points={
'console_scripts': [
# main
'instamatic.stem = instamatic_stem.gui.gui:main',
'instamatic.stem.nogui = instamatic_stem.experiment:main',
]
}
)