Skip to content

Commit

Permalink
Merge pull request #6 from NCAR/djgagne
Browse files Browse the repository at this point in the history
Preparing for pypi
  • Loading branch information
djgagne authored Dec 12, 2022
2 parents e8bc56d + 3a2d8ee commit d7ccb27
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 National Center for Atmospheric Research
Copyright (c) 2021 University Corporation for Atmospheric Research

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions echo/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1
6 changes: 0 additions & 6 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@ dependencies:
- numpy
- scipy
- matplotlib
- seaborn
- xarray
- netcdf4
- tqdm
- dask
- scikit-learn
- jupyter
- jupyterlab
- jupyter_server
- distributed
- pip
- s3fs
- pyarrow
- pytorch
- torchvision
Expand Down
13 changes: 13 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
numpy
scipy
matplotlib
pandas
optuna
setuptools
pyyaml
scikit-learn
tensorflow
torch
xgboost
torchvision
pyarrow
47 changes: 47 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[metadata]
name = echo-opt
description = Earth Computer Hyperparameter Optimization: Distributed hyperparameter optimization on HPC and GPU systems with analysis tools.
long_description = file: README.md
long_description_content_type = text/markdown
author = John Schreck
author_email = [email protected]
license = MIT
license_file = LICENSE
platform = any
version = file: echo/VERSION
keywords = machine-learning, hyperparameter, gpu
classifiers =
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
url = https://github.com/NCAR/echo-opt

[options]
zip_safe = True
packages =
echo
echo.src
include_package_data = True
setup_requires = setuptools
python_requires = >=3.7
install_requires =
numpy
scipy
matplotlib
optuna
setuptools
pandas
scikit-learn
tensorflow
torch
xgboost
torchvision
pyarrow
pyyaml

[options.entry_points]
console_scripts =
echo-opt = echo.optimize:main
echo-run = echo.run:main
echo-report = echo.report:main
13 changes: 2 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
from setuptools import setup

setup(name="echo-opt",
version="0.1",
description="Earth Computer Hyperparameter Optimization",
author="John Schreck, David John Gagne, Charlie Becker, Gabrielle Gantos, Keely Lawrence",
license="MIT",
url="https://github.com/NCAR/echo-opt",
packages=["echo", "echo/src"],
entry_points = {
'console_scripts': ['echo-opt=echo.optimize:main', 'echo-run=echo.run:main', 'echo-report=echo.report:main'],
}
)
if __name__ == "__main__":
setup()

0 comments on commit d7ccb27

Please sign in to comment.