-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
77 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,3 +43,7 @@ nosetests.xml | |
doc/_build | ||
doc/html | ||
doc/latex | ||
|
||
.ropeproject/ | ||
.eggs/ | ||
*.bak |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
- "3.6" | ||
|
||
install: | ||
- pip install coverage | ||
- pip install . | ||
|
||
script: | ||
- cd tests | ||
- nosetests --with-coverage --cover-package=stile --with-doctest --cover-erase test_binning.py test_stile_utils.py | ||
|
||
after_success: | ||
- coverage xml | ||
- codecov | ||
|
||
deploy: | ||
provider: pypi | ||
user: msimet | ||
password: | ||
secure: secure_token | ||
on: | ||
tags: true | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
7/11/18: Update code to python3 | ||
3/17/16: Update documentation to Sphinx standard and add documentation build files (issue #17) | ||
2/17/16: Changes to correlation function plots & documentation (issue #77) | ||
2/17/16: Changes to correlation function plots & documentation (issue #77) | ||
2/10/15: Add a setup.py installer (issue #57) | ||
8/26/14: Change from relying on compiled C-code corr2 to Python package TreeCorr (issue #33) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
#!/usr/bin/env python | ||
from setuptools import setup | ||
from io import open | ||
|
||
from distutils.core import setup | ||
try: | ||
import treecorr | ||
except ImportError: | ||
import warnings | ||
warnings.warn("treecorr package cannot be imported. Installation will proceed, but you may "+ | ||
"wish to install it if you would like to use the correlation functions within "+ | ||
"Stile.") | ||
|
||
# read the contents of the README file | ||
with open('README.md', encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup(name='Stile', | ||
version='0.1', | ||
description='Stile: Systematics Tests in Lensing pipeline', | ||
author='The Stile team', | ||
requirements=['numpy'], | ||
install_requires=['numpy', 'treecorr', 'matplotlib', 'astropy<3'], | ||
author_email='[email protected]', | ||
url='https://github.com/msimet/Stile', | ||
packages=['stile', 'stile.hsc'], | ||
scripts=['bin/StileVisit.py', 'bin/StileVisitNoTract.py', 'bin/StileCCD.py', | ||
'bin/StileCCDNoTract.py', 'bin/StilePatch.py', 'bin/StileTract.py'] | ||
'bin/StileCCDNoTract.py', 'bin/StilePatch.py', 'bin/StileTract.py'], | ||
test_suite='nose.collector', | ||
tests_require=['nose'], | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Science/Research', | ||
'License :: OSI Approved', | ||
'Operating System :: MacOS :: MacOS X', | ||
'Operating System :: POSIX :: Linux', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Topic :: Scientific/Engineering :: Physics' | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters