Skip to content

Commit

Permalink
update makefile for dist
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardbinet committed Jul 6, 2021
1 parent 3c33c29 commit e374eb4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
13 changes: 11 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,19 @@ doc-references:
-make -C docs api-doc

tests:
pytest
pytest

coverage:
coverage run --source=./pandagg -m pytest
coverage report

check: black doc-references
check: doc-references black lint

create_dist: check
python setup.py sdist bdist_wheel

test_dist: create_dist
twine upload -r testpypi dist/*

upload_dist:
twine upload dist/*
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

__version__ = "0.2.0"
__version__ = "0.2.1"

import os

Expand All @@ -23,6 +23,8 @@
"pytest-cov",
"mock",
"pandas",
"Sphinx",
"twine",
]

setup(
Expand Down

0 comments on commit e374eb4

Please sign in to comment.