Skip to content

Commit 7769cae

Browse files
committed
Fixed __all__, added auto remove when building
1 parent 89ab64b commit 7769cae

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

codeforces_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
22
Importing classes from modules
33
"""
4-
__all__ = ["codeforces_api.api_requests"]
4+
__all__ = ["CodeforcesApi"]
55
from codeforces_api.api_requests import CodeforcesApi

create_package.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
RMDIR /Q /S build
2+
RMDIR /Q /S dist
3+
RMDIR /Q /S CodeforcesApiPy.egg-info
14
python setup.py sdist bdist_wheel
5+
twine check dist/*

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[bdist_wheel]
2-
universal=1
2+
universal = 1
33
[metadata]
4-
description-file = README.md
4+
description-file = README.md

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@
33
"""
44
from setuptools import setup, find_packages
55

6-
with open("README.md") as f:
7-
long_description = f.read()
8-
96
setup(
107
name="CodeforcesApiPy",
11-
version="1.0.0",
8+
version="1.0.1",
129
description="Implementation of codeforces.com api",
1310
platforms="any",
1411
url="https://github.com/VadVergasov/CodeforcesApiPy",
1512
long_description_content_type="text/markdown",
16-
long_description=long_description,
13+
long_description=open("README.md").read(),
1714
author="VadVergasov",
1815
author_email="[email protected]",
1916
license="MIT",

upload_package.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
twine upload dist/*
1+
twine upload dist/*

0 commit comments

Comments
 (0)