Skip to content

Commit d7ccb27

Browse files
authored
Merge pull request #6 from NCAR/djgagne
Preparing for pypi
2 parents e8bc56d + 3a2d8ee commit d7ccb27

6 files changed

Lines changed: 64 additions & 18 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 National Center for Atmospheric Research
3+
Copyright (c) 2021 University Corporation for Atmospheric Research
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

echo/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.1

environment.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,12 @@ dependencies:
1111
- numpy
1212
- scipy
1313
- matplotlib
14-
- seaborn
15-
- xarray
16-
- netcdf4
17-
- tqdm
18-
- dask
1914
- scikit-learn
2015
- jupyter
2116
- jupyterlab
2217
- jupyter_server
2318
- distributed
2419
- pip
25-
- s3fs
2620
- pyarrow
2721
- pytorch
2822
- torchvision

requirements.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
numpy
2+
scipy
3+
matplotlib
4+
pandas
5+
optuna
6+
setuptools
7+
pyyaml
8+
scikit-learn
9+
tensorflow
10+
torch
11+
xgboost
12+
torchvision
13+
pyarrow

setup.cfg

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
[metadata]
2+
name = echo-opt
3+
description = Earth Computer Hyperparameter Optimization: Distributed hyperparameter optimization on HPC and GPU systems with analysis tools.
4+
long_description = file: README.md
5+
long_description_content_type = text/markdown
6+
author = John Schreck
7+
author_email = schreck@ucar.edu
8+
license = MIT
9+
license_file = LICENSE
10+
platform = any
11+
version = file: echo/VERSION
12+
keywords = machine-learning, hyperparameter, gpu
13+
classifiers =
14+
Programming Language :: Python
15+
Programming Language :: Python :: 3.8
16+
Programming Language :: Python :: 3.9
17+
Programming Language :: Python :: 3.10
18+
url = https://github.com/NCAR/echo-opt
19+
20+
[options]
21+
zip_safe = True
22+
packages =
23+
echo
24+
echo.src
25+
include_package_data = True
26+
setup_requires = setuptools
27+
python_requires = >=3.7
28+
install_requires =
29+
numpy
30+
scipy
31+
matplotlib
32+
optuna
33+
setuptools
34+
pandas
35+
scikit-learn
36+
tensorflow
37+
torch
38+
xgboost
39+
torchvision
40+
pyarrow
41+
pyyaml
42+
43+
[options.entry_points]
44+
console_scripts =
45+
echo-opt = echo.optimize:main
46+
echo-run = echo.run:main
47+
echo-report = echo.report:main

setup.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
from setuptools import setup
22

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

0 commit comments

Comments
 (0)