[e1454ab] | 1 | import os |
---|
[040575f] | 2 | from setuptools import setup,find_packages |
---|
| 3 | |
---|
[e1454ab] | 4 | # Create the model .so's |
---|
| 5 | os.system("python gen_so.py") |
---|
| 6 | |
---|
[040575f] | 7 | packages = find_packages(exclude=['contrib', 'docs', 'tests*']) |
---|
| 8 | package_data = { |
---|
[f903f0a] | 9 | 'sasmodels.models': ['*.c','lib/*.c'], |
---|
| 10 | 'sasmodels': ['*.c'], |
---|
[e1454ab] | 11 | 'sasmodels.models.dll': ['*.so'], |
---|
[040575f] | 12 | } |
---|
| 13 | required = [] |
---|
| 14 | |
---|
| 15 | setup( |
---|
| 16 | name="sasmodels", |
---|
| 17 | version = "1.0.0a", |
---|
| 18 | description = "sasmodels package", |
---|
[3eb3312] | 19 | long_description=open('README.md').read(), |
---|
[040575f] | 20 | author = "SasView Collaboration", |
---|
| 21 | author_email = "management@sasview.org", |
---|
| 22 | url = "http://www.sasview.org", |
---|
| 23 | keywords = "small-angle x-ray and neutron scattering analysis", |
---|
| 24 | download_url = "https://github.com/SasView/sasmodels", |
---|
| 25 | classifiers=[ |
---|
| 26 | 'Development Status :: 4 - Beta', |
---|
| 27 | 'Environment :: Console', |
---|
| 28 | 'Intended Audience :: Science/Research', |
---|
| 29 | 'License :: Public Domain', |
---|
| 30 | 'Operating System :: OS Independent', |
---|
| 31 | 'Programming Language :: Python', |
---|
| 32 | 'Topic :: Scientific/Engineering', |
---|
| 33 | 'Topic :: Scientific/Engineering :: Chemistry', |
---|
| 34 | 'Topic :: Scientific/Engineering :: Physics', |
---|
| 35 | ], |
---|
| 36 | packages=packages, |
---|
| 37 | package_data=package_data, |
---|
| 38 | install_requires = required, |
---|
| 39 | extras_require = { |
---|
| 40 | 'OpenCL': ["pyopencl"], |
---|
| 41 | 'Bumps': ["bumps"], |
---|
| 42 | } |
---|
| 43 | |
---|
[3eb3312] | 44 | ) |
---|