From b5bab569f871f0b7b6323b004516b08d288d2feb Mon Sep 17 00:00:00 2001 From: Owais Date: Tue, 20 Apr 2021 10:38:05 +0500 Subject: [PATCH] Changes to publish package using GitHub Action - v1.0.9 --- .github/workflows/python-publish.yml | 2 +- README.md | 3 +-- moss_usage.py | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 92e0875..524b8f8 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -29,4 +29,4 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | python setup.py sdist bdist_wheel - twine upload dist/* + twine upload dist/mosspy-*-py2.py3-none-any.whl diff --git a/README.md b/README.md index ca3f260..2dd7453 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,6 @@ m.addFilesByWildcard("submission/a01-*.py") url = m.send(lambda file_path, display_name: print('*', end='', flush=True)) print() - print ("Report Url: " + url) # Save report file @@ -49,7 +48,7 @@ mosspy.download_report(url, "submission/report/", connections=8, log_level=10, o ## Python Compatibility -* [Python](http://www.python.com) - v2.7.* and v3.* +* [Python](http://www.python.com) - v3 ## Similar Project diff --git a/moss_usage.py b/moss_usage.py index 94ecf6b..aa8ef50 100644 --- a/moss_usage.py +++ b/moss_usage.py @@ -1,6 +1,6 @@ import mosspy -userid = 987654321 +userid = 987654321 # add your userid here m = mosspy.Moss(userid, "python") diff --git a/setup.py b/setup.py index d69f2d5..2f29dcf 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name = 'mosspy', packages = ['mosspy'], # this must be the same as the name above - version = '1.0.8', + version = '1.0.9', description = 'A Python client for Moss: A System for Detecting Software Similarity', long_description=long_description, long_description_content_type='text/markdown',