forked from mxcube/mxcubeqt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (55 loc) · 1.88 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
if sys.version_info >= (3, 0):
requirements_filename = 'requirements_python3.txt'
else:
requirements_filename = 'requirements_python2.txt'
with open(requirements_filename) as f:
content = f.readlines()
requirements = [x.strip() for x in content]
requirements = [x for x in requirements if not x.startswith('#')]
setup_requirements = []
tests_requirements = []
extras_requirements = {'pyqt5': ['PyQt5==5.14']}
console_scripts = ['mxcube = mxcubeqt.__main__:run']
gui_scripts = []
entry_points = {
'console_scripts': console_scripts,
'gui_scripts': gui_scripts
}
setup(
name='mxcubeqt',
# version='0.1.0',
# author='The MXCuBE developers',
# author_email='[email protected]',
description='Qt front-end version for MXCuBE',
long_description='Front-end version for MXCuBE based on Qt framework',
url='http://github.com/mxcube/mxcubeqt',
packages=find_packages(),
package_dir={},
include_package_data=True,
package_data={'mxcubeqt': ['ui_files/*.ui',
'icons/*.png',
'examples/*'],
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: Lesser General Public License v3 (LGPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
],
platforms='all',
license='LGPL',
entry_points=entry_points,
install_requires=requirements,
setup_requires=setup_requirements,
tests_require=tests_requirements,
extras_require=extras_requirements,
python_requires='>=2.7',
)