Skip to content

Commit

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

v0.6.2 (9/5/2021)
-----------------
* create pure python packages
* include wheel file
* package as python3 only

v0.6.1 (3/26/2021)
------------------
* add colab and binder badges
Expand Down
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ exclude docs/*
exclude Makefile
exclude release.txt
exclude requirements.txt
exclude todo.rst
exclude todo.rst
exclude test_all_notebooks.py
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ clean:
rm -rf ofiber/*.pyc
rm -rf .tox
rm -rf __pycache__
rm -rf build


.PHONY: clean rcheck html rstcheck lintcheck doccheck rcheck
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
author = 'Scott Prahl'

# The full version, including alpha/beta/rc tags
release = '0.6.1'
release = '0.6.2'

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"
Expand Down
12 changes: 5 additions & 7 deletions release.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@
git push origin v0.6.1

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

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

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

[metadata]
name=ofiber
version=0.6.1
version=0.6.2
author=Scott Prahl
author_email[email protected]
description=Light Propagation in Optical Fibers
Expand Down Expand Up @@ -40,5 +37,4 @@ test_suite=ofiber.test.test
packages=ofiber
install_requires = numpy; scipy
python_requires = >=3.4
zip_safe = True
setup_requires = setuptools>=44

0 comments on commit 8869131

Please sign in to comment.