Skip to content

Commit

Permalink
Add more info for contributing and changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebezzam committed Apr 26, 2022
1 parent 0dda5ac commit 9cca44d
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# CHANGELOG.md

## Unreleased

#### Added

- Scripts for collecting MNIST.
- Option to collect grayscale data.

#### Changed

- Restructure example scripts, i.e. subfolder `recon` for reconstructions.
- Remove heavy installs from setup (e.g. pycsou, lpips, skikit-image).

#### Bugfix

-

## 1.0.0 - (2022-03-21)

First version!
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,16 @@ to run all tests.
7. Format the code (see above).
8. Push your new branch to your fork.
9. Open a pull request with the original repository.

## Deploy new version to PyPi


```
# Create tag and upload
git tag -a vX.X.X -m "Description."
git push origin vX.X.X
# Create package and upload to Pypi
python setup.py sdist
python -m twine upload dist/lensless-1.0.1.tar.gz
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ For example, for ADMM:
res = recon.apply(n_iter=n_iter)
```

A full running example can run like so:
A full running example can be run like so:
```bash
python scripts/recon/admm.py --psf_fp data/psf/tape_rgb.png \
--data_fp data/raw_data/thumbs_up_rgb.png --n_iter 5
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="lensless",
version="0.0.1",
version="1.0.0",
author="Eric Bezzam",
author_email="[email protected]",
description="Package to control and image with a lensless camera running on a Raspberry Pi.",
Expand Down

0 comments on commit 9cca44d

Please sign in to comment.