Skip to content

Commit

Permalink
Merge pull request #254 from LSSTDESC/fix-install
Browse files Browse the repository at this point in the history
Fix install
  • Loading branch information
Catarina-Alves authored Sep 8, 2021
2 parents ede2f5e + 573df76 commit 580eb70
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 6 deletions.
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']
)

0 comments on commit 580eb70

Please sign in to comment.