Changeset ff97458 in sasmodels for setup.py


Ignore:
Timestamp:
Apr 28, 2016 4:31:25 AM (9 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
a6ffaa8, 3ecf034
Parents:
fb69211
git-author:
Piotr Rozyczko <piotr.rozyczko@…> (04/28/16 04:28:37)
git-committer:
Piotr Rozyczko <piotr.rozyczko@…> (04/28/16 04:31:25)
Message:

Precompiled models are a Windows-only feature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r9ccf580 rff97458  
    22from setuptools import setup,find_packages 
    33 
    4 # Create the model .so's 
    5 os.system("python gen_so.py") 
     4if os.name == 'nt': 
     5    # Create the model .so's on windows 
     6    os.system("python gen_so.py") 
    67 
    78packages = find_packages(exclude=['contrib', 'docs', 'tests*']) 
Note: See TracChangeset for help on using the changeset viewer.