Skip to content

Commit

Permalink
Fix PyPi installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
amdei committed May 4, 2020
1 parent b81d966 commit 867a3a5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ HTML report generator from [prospector](https://blog.landscape.io/prospector-pyt


## Synopsis
pip install prospector
pip install prospector2html
cd <python-project-sources-dir>
prospector --no-style-warnings --strictness medium --output-format json > prospector_report.json
Expand Down
8 changes: 6 additions & 2 deletions prospector2html/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

import sys

from prospector2html import main
from prospector2html import Prospector2HTML

def main():
prh = Prospector2HTML()
sys.exit(prh.main())

if __name__ == '__main__':
sys.exit(main())
main()
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

__version__ = '1.0.1'
__version__ = '1.0.3'

try:
from setuptools import setup
Expand Down

0 comments on commit 867a3a5

Please sign in to comment.