Skip to content

Commit 73c230b

Browse files
committed
Repo is now on PyPl
1 parent de3767b commit 73c230b

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Installing with `pip`
3636
--------
3737

3838
``` shell
39-
python -m pip install git+https://github.com/greydanus/mnist1d.git@master
39+
pip install mnist1d
4040
```
4141

4242
This allows you to build the default dataset locally:
@@ -52,6 +52,13 @@ x,y,t = data['x'], data['y'], data['t']
5252
If you want to play around with this, see [notebooks/mnist1d-pip.ipynb](https://github.com/greydanus/mnist1d/blob/master/notebooks/mnist1d-pip.ipynb).
5353

5454

55+
Alternatively, you can always `pip install` via the GitHub repo:
56+
57+
``` shell
58+
python -m pip install git+https://github.com/greydanus/mnist1d.git@master
59+
```
60+
61+
5562
Comparing MNIST and MNIST-1D
5663
--------
5764

pypl_notes.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# SJG Notes for PYPL uploads:
2+
3+
4+
* `git tag v0.0.1`
5+
* `git push origin v0.0.1`
6+
* (commit)
7+
* `python3 -m build`
8+
* Upload w/`twine` (Test)
9+
* `python3 -m twine upload --repository testpypi dist/*`
10+
* `python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps mnist1d`
11+
* View on `https://test.pypi.org/project/mnist1d/`
12+
* Upload w/`twine` (Main)
13+
* `python3 -m twine upload dist/*`
14+
* `python3 -m pip install mnist1d`
15+
* View on `https://pypi.org/project/mnist1d/`

pyproject.toml

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ all = ["torch","notebook"]
4343
[tool.setuptools]
4444
packages = ["mnist1d"]
4545

46+
[tool.setuptools_scm]
47+
version_scheme = "post-release"
48+
local_scheme = "no-local-version"
49+
4650
# [tool.setuptools.packages.find]
4751
# where = ["mnist1d"]
4852

0 commit comments

Comments
 (0)