-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from dmtucker/release
Use setuptools-scm for versioning starting with 0.5.0
- Loading branch information
Showing
6 changed files
with
46 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Contributing | ||
============ | ||
|
||
Contributions are very welcome. Tests can be run with `tox <https://tox.readthedocs.io/en/latest/>`_. | ||
Please ensure the coverage at least stays the same before you submit a pull request. | ||
|
||
.. image:: https://travis-ci.org/dbader/pytest-mypy.svg?branch=master | ||
:target: https://travis-ci.org/dbader/pytest-mypy | ||
:alt: See Build Status on Travis CI | ||
|
||
Development Environment Setup | ||
----------------------------- | ||
|
||
Here's how to install pytest-mypy in development mode so you can test your changes locally: | ||
|
||
.. code-block:: bash | ||
tox --devenv venv | ||
venv/bin/pytest --mypy test_example.py | ||
How to publish a new version to PyPI | ||
------------------------------------ | ||
|
||
Push a tag, and Travis CI will publish it automatically. | ||
To publish manually: | ||
|
||
.. code-block:: bash | ||
python -m venv venv | ||
venv/bin/pip install pep517 twine | ||
venv/bin/python -m pep517.build . | ||
venv/bin/twine upload dist/* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[build-system] | ||
requires = ['setuptools ~= 41.0.1'] | ||
requires = ['setuptools ~= 43.0.0', 'setuptools-scm ~= 3.5.0', 'wheel ~= 0.33.6'] | ||
build-backend = 'setuptools.build_meta' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters