Skip to content

Commit

Permalink
Fixed __all__, added auto remove when building
Browse files Browse the repository at this point in the history
  • Loading branch information
VadVergasov committed Feb 27, 2020
1 parent 89ab64b commit 7769cae
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion codeforces_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Importing classes from modules
"""
__all__ = ["codeforces_api.api_requests"]
__all__ = ["CodeforcesApi"]
from codeforces_api.api_requests import CodeforcesApi
4 changes: 4 additions & 0 deletions create_package.bat
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
RMDIR /Q /S build
RMDIR /Q /S dist
RMDIR /Q /S CodeforcesApiPy.egg-info
python setup.py sdist bdist_wheel
twine check dist/*
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[bdist_wheel]
universal=1
universal = 1
[metadata]
description-file = README.md
description-file = README.md
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@
"""
from setuptools import setup, find_packages

with open("README.md") as f:
long_description = f.read()

setup(
name="CodeforcesApiPy",
version="1.0.0",
version="1.0.1",
description="Implementation of codeforces.com api",
platforms="any",
url="https://github.com/VadVergasov/CodeforcesApiPy",
long_description_content_type="text/markdown",
long_description=long_description,
long_description=open("README.md").read(),
author="VadVergasov",
author_email="[email protected]",
license="MIT",
Expand Down
2 changes: 1 addition & 1 deletion upload_package.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
twine upload dist/*
twine upload dist/*

0 comments on commit 7769cae

Please sign in to comment.