source: sasmodels/setup.py @ ff97458

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

Precompiled models are a Windows-only feature.

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