source: sasmodels/setup.py @ a062d18

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since a062d18 was e1454ab, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Ticket #539: Precompile model dlls and reuse them.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1import os
2from setuptools import setup,find_packages
3
4# Create the model .so's
5os.system("python gen_so.py")
6
7packages = find_packages(exclude=['contrib', 'docs', 'tests*'])
8package_data = {
9    'sasmodels.models': ['*.c','lib/*.c'],
10    'sasmodels': ['*.c'],
11    'sasmodels.models.dll': ['*.so'],
12}
13required = []
14
15setup(
16    name="sasmodels",
17    version = "1.0.0a",
18    description = "sasmodels package",
19    long_description=open('README.md').read(),
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
44    )
Note: See TracBrowser for help on using the repository browser.