Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
blaylockbk committed Sep 11, 2022
1 parent 673b409 commit 3ffa5d6
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions PUBLISH-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ _Notes for when Brian needs to publish a new release_.

# How to publish the `herbie-data` package

## Pre-step
## Pre-step

Update Herbie version number in

- ~~setup.py~~
- ./CITATION.cff
- ./docs/conf.py
Expand All @@ -22,7 +24,6 @@ conda create -n pypi python=3 twine pip -c conda-forge
conda update -n pypi --all
```


```bash
# Build the package for PyPI
conda activate pypi
Expand All @@ -31,40 +32,42 @@ python setup.py sdist bdist_wheel
twine check dist/*
```

> Or, should I be using this https://github.com/pypa/build
Or, should I be using this https://github.com/pypa/build

```bash
python -m build
```

### Upload Package to PyPI

```bash
twine upload --skip-existing dist/*

# followed by username/password
```

### Upload Package to Test PyPI

```bash
twine upload --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*

# followed by username and password
```

## 🐍 Publish to Conda

Go to herbie-data feedstock, update the version.

(More details coming soon)

-----------
---

# Miscellaneous

See PyPI download statistics at: https://pepy.tech/project/herbie-data



Check import time with
Check import time with

```bash
python -X importtime herbie/archive.py > importtime.txt 2>&1
```


0 comments on commit 3ffa5d6

Please sign in to comment.