-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·39 lines (36 loc) · 1.22 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
import io
import re
from distutils.core import setup
# https://stackoverflow.com/a/17638236/2707733
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too
io.open('pyfdd/__init__.py', encoding='utf_8_sig').read()
).group(1)
setup(
name='pyfdd',
version=__version__,
packages=['pyfdd',
'pyfdd.core',
'pyfdd.core.lib2dl',
'pyfdd.core.datapattern',
'pyfdd.gui',
'pyfdd.gui.qt_designer',
'examples',
'specific_tools'],
install_requires=['numpy',
'matplotlib >= 3.3.0, != 3.4.*',
'scipy',
'numdifftools',
'pandas',
'seaborn',
'PyQt5 >= 5.15.0; platform_system=="Windows"',
'PyQt5 == 5.14; platform_system=="Linux"',
'packaging',
'pyinstaller'],
python_requires='>=3',
url='https://github.com/edbosne/pyfdd',
license='GPL-3.0',
author='E David-Bosne',
author_email='eric.bosne@cern.ch',
description='Software for fitting channelling data for lattice location.'
)