-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
50 additions
and
40 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
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,26 @@ | ||
Installation | ||
============ | ||
|
||
We are following `Semantic Versioning 2.0.0 <https://semver.org/>`__ | ||
conventions. The maintainers will create a git tag for each release and | ||
increment the version number found in `fonduer/\_version.py`_ accordingly. We | ||
deploy tags to PyPI automatically using Travis-CI. | ||
|
||
To install locally, you'll need to install ``pandoc``: | ||
|
||
.. code:: bash | ||
sudo apt-get install pandoc | ||
which is used to create the reStructuredText file from the Markdown-formatted | ||
README.md that ``setuptools`` expects. | ||
|
||
To test changes in the package, you install it in `editable mode`_ locally in | ||
your virtualenv by running: | ||
|
||
.. code:: bash | ||
make dev | ||
.. _fonduer/\_version.py: https://github.com/HazyResearch/fonduer/blob/master/fonduer/_version.py | ||
.. _editable mode: https://packaging.python.org/tutorials/distributing-packages/#working-in-development-mode |
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,14 @@ | ||
Testing | ||
======= | ||
|
||
We use pytest_ to run our tests. Our tests are all located in the ``tests`` | ||
directory in the repo, and are meant to be run *after* installing_ Fonduer | ||
locally. | ||
|
||
.. code:: bash | ||
make test | ||
.. _pytest: https://docs.pytest.org/en/latest/ | ||
.. _installing: install.html |
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