Skip to content

Commit

Permalink
Move source code into src directory; update README and docs config.
Browse files Browse the repository at this point in the history
  • Loading branch information
lapets committed Jun 25, 2022
1 parent a4aed96 commit bd9f632
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ All unit tests are executed and their coverage is measured when using `pytest <h

Alternatively, all unit tests are included in the module itself and can be executed using `doctest <https://docs.python.org/3/library/doctest.html>`__::

python exclusive/exclusive.py -v
python src/exclusive/exclusive.py -v

Style conventions are enforced using `Pylint <https://www.pylint.org>`__::

python -m pip install .[lint]
python -m pylint exclusive
python -m pylint src/exclusive

Contributions
^^^^^^^^^^^^^
Expand All @@ -127,7 +127,7 @@ This library can be published as a `package on PyPI <https://pypi.org/project/ex

Remove any old build/distribution files and package the source into a distribution archive::

rm -rf build dist *.egg-info
rm -rf build dist src/*.egg-info
python -m build --sdist --wheel .

Finally, upload the package distribution archive to `PyPI <https://pypi.org>`__ using the `twine <https://pypi.org/project/twine>`__ package::
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../src'))


# -- Project information -----------------------------------------------------
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit bd9f632

Please sign in to comment.