Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix install #254

Merged
merged 8 commits into from
Sep 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
###### Requirements without Version Specifiers ######
iminuit
lightgbm
scikit-learn
seaborn
setuptools_scm

###### Requirements with Version Specifiers ######
astropy>=1.1.2
future>=0.16
george>=0.3.0
matplotlib>=1.5.1
nose>=1.3.7
numpy>=1.18.4
pandas>=0.23.0
pyyaml>=3.13
pywavelets>=0.4.0
scipy>=0.17.0
sncosmo==2.1.0
28 changes: 22 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ def run(self):

setup(
name='snmachine',
author='Michelle Lochner',
author_email='[email protected]',
description='Machine learning code for photometric supernova '
'classification',
url='https://github.com/LSSTDESC/snmachine',
license='BSD-3-Clause License',
use_scm_version={
"root": ".",
"relative_to": __file__,
Expand All @@ -50,10 +56,20 @@ def run(self):
'example_data/example_data_for_tests.pckl']},
exclude_package_data={'utils': ['archive/*']},
cmdclass={'install': ExtractExampleData},
url='https://github.com/LSSTDESC/snmachine',
license='BSD-3-Clause License',
author='Michelle Lochner',
author_email='[email protected]',
description='Machine learning code for photometric supernova '
'classification'
install_requires=['astropy>=1.1.2',
'matplotlib>=1.5.1',
'numpy>=1.18.4',
'scikit-learn',
'scipy>=0.17.0',
'george>=0.3.0',
'iminuit',
'pandas>=0.23.0',
'pywavelets>=0.4.0',
'sncosmo==2.1.0',
'nose>=1.3.7',
'future>=0.16',
'pyyaml>=3.13',
'seaborn',
'lightgbm',
'setuptools_scm']
)