Skip to content

Commit

Permalink
Switch to fully pyproject.tml-based build (#113)
Browse files Browse the repository at this point in the history
* Switch to a pyproject.tml-based build

* Remove tests exclusion

* Remove _version.py configuration

* Fix broken test from cosmetic typer change

* Clearer version fetching code

---------

Co-authored-by: Jay Qi <jayqi@users.noreply.github.com>
  • Loading branch information
jayqi and jayqi authored Feb 22, 2023
1 parent e5a27e2 commit 64b7fa5
Show file tree
Hide file tree
Showing 13 changed files with 79 additions and 2,483 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ To release a new version of `nbautoexport`, create a new release using the [GitH

On publishing of the release, the [`release`](https://github.com/drivendataorg/nbautoexport/blob/master/.github/workflows/release.yml) GitHub action workflow will be triggered. This workflow builds the package and publishes it to PyPI. You will be able to see the workflow status in the [Actions tab](https://github.com/drivendataorg/nbautoexport/actions?query=workflow%3Arelease).

The built package for `nbautoexport` will automatically match the created git tag via [versioneer](https://github.com/warner/python-versioneer).
The built package for `nbautoexport` will automatically match the created git tag via the [dynamic versioning](https://pdm.fming.dev/latest/pyproject/build/#dynamic-versioning) functionality of the build backend, [pdm-pep517](https://pdm.fming.dev/latest/pyproject/build/).

## Documentation Website (for maintainers)

Expand Down
12 changes: 0 additions & 12 deletions MANIFEST.in

This file was deleted.

3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ clean-test: ## remove test and coverage artifacts
rm -fr .pytest_cache

dist: clean ## builds source and wheel package
python setup.py sdist
python setup.py bdist_wheel
python -m build
ls -l dist

docs: clean-docs
Expand Down
Loading

0 comments on commit 64b7fa5

Please sign in to comment.