Skip to content

Commit

Permalink
fix bug in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarbary committed Feb 3, 2019
1 parent 7920d02 commit 8050174
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ def run_tests(self):
open(os.path.join("sncosmo", "__init__.py")).read())[0]


# Detect whether to use Cython based on the presence of MANIFEST.in.
# If this file doesn't exist, it indicates that we're in a source
# Detect whether to use Cython based on the presence of PKG-INFO.
# If this file exists, it indicates that we're in a source
# distribution build, in which case the C files should already be
# included and Cython should not be required. As a fallback, if the C
# files are not included, Cython will be used to generate them regardless.
USE_CYTHON = (os.path.exists('MANIFEST.in') or
USE_CYTHON = (not os.path.exists('PKG-INFO') or
not os.path.exists(os.path.join("sncosmo", "salt2utils.c")))

# extension module(s): only add if setup.py argument is not egg_info, because
Expand Down
2 changes: 1 addition & 1 deletion sncosmo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from astropy.config.configuration import update_default_config


__version__ = "1.7.0"
__version__ = "1.7.1"


def test(package=None, test_path=None, args=None, plugins=None,
Expand Down

0 comments on commit 8050174

Please sign in to comment.