forked from niermann/temscript
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
49 lines (45 loc) · 1.7 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
#!/usr/bin/env python3
from setuptools import setup
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Long description
with open(path.join(here, "README.rst"), "r", encoding="utf-8") as fp:
long_description = fp.read()
# Read version
with open("pytemscript/version.py") as fp:
exec(fp.read())
setup(name='pytemscript',
version=__version__,
description='TEM Scripting adapter for FEI/TFS microscopes',
author='Tore Niermann, Grigory Sharov',
author_email='[email protected], [email protected]',
long_description=long_description,
packages=['pytemscript'],
platforms=['any'],
license="GNU General Public License v3 (GPLv3)",
python_requires='>=3.4',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent'
],
install_requires=[
"comtypes;platform_system=='Windows'",
"mrcfile",
"numpy"
],
entry_points={'console_scripts': ['pytemscript-server = pytemscript.utils.server:main']},
url="https://github.com/azazellochg/pytemscript",
project_urls={
"Source": "https://github.com/azazellochg/pytemscript",
"Documentation": "https://pytemscript.readthedocs.io/"
}
)