Skip to content

Commit

Permalink
package as pure python3
Browse files Browse the repository at this point in the history
  • Loading branch information
scottprahl committed Aug 7, 2021
1 parent a910288 commit 1726e2a
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 17 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=================================================

v1.7.3
------
* create pure python packaging
* include wheel file
* package as python3 only

v1.7.2
------
* allow non-integer beam centers
Expand Down
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ exclude release.txt
exclude requirements.txt
exclude Makefile
exclude .gitignore
exclude todo
exclude todo
exclude test_all_notebooks.py
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ clean:
rm -rf docs/api
rm -rf __pycache__
rm -rf .ipynb_checkpoints
rm -rf build

realclean:
make clean
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
author = 'Scott Prahl'

# The full version, including alpha/beta/rc tags
release = '1.7.2'
release = '1.7.3'

master_doc = 'index'

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools >= 35.0.2",
"setuptools >= 44",
"setuptools_scm >= 2.0.0, <3"
]
build-backend = "setuptools.build_meta"
15 changes: 5 additions & 10 deletions release.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ Releasing a new version

# consider regenerating images using docs/readme_images.ipynb

# make sure all Jupyter notebooks in the doc folder still work

# check
make rcheck

Expand All @@ -19,13 +17,10 @@ Releasing a new version
git push origin v1.7.0

# upload source to pypi
rm -rf dist/*
python3 setup.py sdist
python3 -m build
python3 -m twine upload dist/*

# manually update release at
https://github.com/scottprahl/laserbeamsize

# check releases at pypi and readthedocs
https://pypi.org/project/laserbeamsize/
https://laserbeamsize.readthedocs.io
# update/check releases
open https://github.com/scottprahl/laserbeamsize
open https://pypi.org/project/laserbeamsize/
open https://laserbeamsize.readthedocs.io
6 changes: 2 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[bdist_wheel]
universal=1

[metadata]
name = laserbeamsize
version = 1.7.2
version = 1.7.3
author = Scott Prahl
author_email = scott.prahl@oit.edu
license = MIT
Expand All @@ -20,6 +17,7 @@ classifiers =
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Scientific/Engineering :: Physics

keywords =
Expand Down

0 comments on commit 1726e2a

Please sign in to comment.