Skip to content

Commit

Permalink
Merge pull request #6 from loicpw/remove_make_install_target
Browse files Browse the repository at this point in the history
remove make install target, update Readme and add find-version target
  • Loading branch information
loicpw committed Mar 12, 2019
2 parents 38a99ae + 7008ce8 commit 0b24525
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
17 changes: 0 additions & 17 deletions README.rst
Expand Up @@ -40,23 +40,6 @@ using pip:
$ pip install lpais
production install
******************

There is a makefile in the project root directory:

.. code-block:: bash
$ make install
Using pip, the above is equivalent to:

.. code-block:: bash
$ pip install -r requirements.txt
$ pip install -e .
dev install
****************

Expand Down
9 changes: 4 additions & 5 deletions makefile
@@ -1,18 +1,17 @@
all: install

install:
pip install -r requirements.txt
pip install .
all: dev

dev:
pip install -r requirements-dev.txt
pip install -e .

freeze:
pip freeze | sort | grep -v 'lpais'

test:
cd tests && ( pytest -rXxs -vv --cov-report html --cov-report term-missing --cov lpais )

doc:
cd docs && make html

find-version:
egrep --recursive "(version|__version__|release) ?= ?['\"]\d+\.\d+\.\d+['\"]" .

0 comments on commit 0b24525

Please sign in to comment.