forked from drboer/mxcubecore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
63 lines (53 loc) · 1.76 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
#!/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 = {'gphl': ['f90nml', 'py4j', 'mgen']}
console_scripts = []
gui_scripts = []
entry_points = {
'console_scripts': console_scripts,
'gui_scripts': gui_scripts
}
setup(
name='mxcubecore',
# version='0.1.0',
# author='The MXCuBE developers',
# author_email='[email protected]',
description='MXCuBE core library',
long_description='Core libraries for the MXCuBE application',
url='http://github.com/mxcube/mxcubecore',
packages=find_packages(),
package_dir={},
include_package_data=True,
package_data={'mxcubecore': ['configuration/mockup/*'],
},
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',
)