Commit 040eb476 authored by Carsten Richter's avatar Carsten Richter

Merge branch 'requirements' into 'master'

Adds dependencies to setup.py

Closes #23

See merge request !63
parents aebe559b e7679aed
Pipeline #4213 failed with stages
in 3 minutes and 48 seconds
......@@ -6,12 +6,12 @@
--only-binary numpy,h5py,scipy,PyQt5
xrayutilities
silx >= 0.8.0
# Following minimal versions are those available in Debian 8
numpy >= 1.8.2
scipy >= 0.14.0
h5py >= 2.6.0
silx >= 0.7.0
matplotlib >= 1.4.2
PyOpenGL >= 3.0.2
PyQt5 >= 5.3.2
\ No newline at end of file
......@@ -722,11 +722,19 @@ def get_project_configuration(dry_run):
install_requires = [
# for most of the computation
"numpy%s" % numpy_requested_version,
"h5py",
"silx>=0.8.0",
"xrayutilities",
"scipy",
# for the script launcher
"setuptools"]
setup_requires = ["setuptools", "numpy", "Cython>=0.21.1"]
extras_require = {
"GUI": ["PyOpenGL", "matplotlib", "PyQt5"]
}
package_data = {
'xsocs.resources': [
# Add here all resources files
......@@ -737,7 +745,7 @@ def get_project_configuration(dry_run):
}
entry_points = {
'console_scripts': ['xsocs = xsocs.__main__:main'],
'console_scripts': ['xsocs = xsocs.__main__:main [GUI]'],
}
cmdclass = dict(
......@@ -773,6 +781,7 @@ def get_project_configuration(dry_run):
long_description=get_readme(),
install_requires=install_requires,
setup_requires=setup_requires,
extras_require=extras_require,
cmdclass=cmdclass,
package_data=package_data,
zip_safe=False,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment