source: sasmodels/setup.py @ a6ffaa8

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

Precompiled models are a Windows-only feature.

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