Skip to content

Commit c9915b4

Browse files
committed
Fixes pypi setup errors
1 parent 2f7f366 commit c9915b4

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ docs/source/gumbi
1010
htmlcov
1111
*_backup*
1212
nupack/*
13+
dist/*
14+
*.pub

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ Read in some data and store it as a Gumbi `DataSet`:
2020
import gumbi as gmb
2121
import seaborn as sns
2222
cars = sns.load_dataset('mpg').dropna()
23-
24-
ds = gmb.DataSet(cars,
25-
outputs=['mpg', 'acceleration'],
26-
log_vars=['mpg', 'acceleration', 'weight', 'horsepower', 'displacement'])
23+
ds = gmb.DataSet(cars, outputs=['mpg', 'acceleration'], log_vars=['mpg', 'acceleration', 'weight', 'horsepower', 'displacement'])
2724
```
2825

2926
Create a Gumbi `GP` object and fit a model that predicts *mpg* from *horsepower*:
@@ -38,14 +35,19 @@ Make predictions and plot!
3835
```python
3936
X = gp.prepare_grid()
4037
y = gp.predict_grid()
41-
4238
gmb.ParrayPlotter(X, y).plot()
4339
```
4440

4541
More complex GPs are also possible, such as correlated multi-input and multi-output systems. See the docs for more examples.
4642

4743
## Installation
4844

45+
### Via pip
46+
47+
`pip install gumbi`
48+
49+
### Bleeding edge
50+
4951
* Clone the repo and navigate to the new directory
5052
* `git clone https://gitlab.com/JohnGoertz/gumbi gumbi`
5153
* `cd gumbi`

environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ dependencies:
1414
- uncertainties
1515
- ipympl
1616
- mkl
17+
- pip:
18+
- .

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
DESCRIPTION = "Gaussian Process Model Building Interface"
77
AUTHOR = "John Goertz"
88
AUTHOR_EMAIL = ""
9-
URL = ""
10-
LICENSE = ""
9+
URL = "https://github.com/JohnGoertz/Gumbi"
10+
LICENSE = "Apache 2.0"
1111

1212
PROJECT_ROOT = pl.Path(__file__).resolve().parent
1313
REQUIREMENTS = PROJECT_ROOT / "requirements.txt"
@@ -28,6 +28,7 @@
2828
"Intended Audience :: Science/Research",
2929
"Topic :: Scientific/Engineering",
3030
"Topic :: Scientific/Engineering :: Mathematics",
31+
"License :: OSI Approved :: Apache Software License",
3132
"Operating System :: OS Independent",
3233
]
3334

@@ -37,7 +38,10 @@
3738
author="John Goertz",
3839
author_email="",
3940
description=DESCRIPTION,
41+
long_description_content_type="text/markdown",
4042
long_description=long_description,
43+
url=URL,
44+
license=LICENSE,
4145
python_requires='>=3.9',
4246
packages=find_packages(),
4347
package_data={'': ['*.pkl', '*.mplstyle']},

0 commit comments

Comments
 (0)