-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (57 loc) · 1.55 KB
/
setup.py
File metadata and controls
62 lines (57 loc) · 1.55 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
61
62
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('NanoCETPy/_version.py', 'r', encoding='utf-8-sig') as f:
while True:
version_line = f.readline()
print(version_line)
if version_line.startswith('__version__'):
break
version = version_line.split('=')[1].strip().replace("'", "")
with open('README.md', 'r') as f:
long_description = f.read()
setup(
name='nanocetpy',
version=version,
description='NanoCET Control and Analysis Software',
packages=find_packages(),
url='https://github.com/Dispertech/NanoCETPy',
license='GPLv3',
author='Dispertech and Contributors',
author_email='info@dispertech.com',
classifiers=[
'Intended Audience :: End Users/Desktop',
'Development Status :: 4 - Beta',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
],
include_package_data=True,
package_data={'NanoCETPy':
[
'resources/*',
'sequential/views/**/*.ui',
'sequential/views/**/*.gif',
'sequential/views/**/*.png',
]},
long_description=long_description,
long_description_content_type="text/markdown",
entry_points={
"console_scripts": [
"nanocet=NanoCETPy.__main__:main"
]
},
install_requires=[
'numpy',
'pyqtgraph',
'scipy',
'pyyaml',
'experimentor',
'scikit-image',
'h5py',
'pyzmq',
'pypylon',
'pyvisa',
'pyvisa-py',
'pyserial',
'pyqt5',
],
)