Skip to content

Commit

Permalink
Update setup.cfg to use newer licence_files key; update commands and …
Browse files Browse the repository at this point in the history
…notes in Makefile for the newer build process
  • Loading branch information
dsagal committed Nov 30, 2024
1 parent 89f02d2 commit 0ebecde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
dist:
@echo Build python distribution
python setup.py sdist bdist_wheel
@echo "(If no 'build' module, install with 'python -m pip install build setuptools_scm')"
python -m build

publish:
@echo "Publish to PyPI at https://pypi.python.org/pypi/asttokens/"
@echo "Version in setup.py is `python setup.py --version`"
@echo "Git tag is `git describe --tags`"
@echo "Run this manually: twine upload dist/asttokens-`python setup.py --version`*"
@VER=`python -c 'import setuptools_scm; print(setuptools_scm.get_version())'`; \
echo "Version in setup.py is $$VER"; \
echo "Git tag is `git describe --tags`"; \
echo "Run this manually: twine upload dist/asttokens-$$VER*"

docs:
@echo Build documentation in docs/_build/html
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[metadata]
license_file = LICENSE
license_files = LICENSE
name = asttokens
author = Dmitry Sagalovskiy, Grist Labs
author_email = [email protected]
Expand Down

0 comments on commit 0ebecde

Please sign in to comment.