Skip to content

Commit ceef77f

Browse files
committed
fix
1 parent 3aa8c07 commit ceef77f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

setup.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
AUTHOR = "Kenneth Reitz, Jacobi Petrucciani"
2323
REQUIRES_PYTHON = ">=3.6.0"
24-
VERSION = "0.4.0"
24+
VERSION = "0.4.1"
2525

2626
# What packages are required for this module to be executed?
2727
REQUIRED = ["delegator.py"]
@@ -39,7 +39,9 @@
3939
# Import the README and use it as the long-description.
4040
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
4141
try:
42-
with io.open(os.path.join(CURRENT_DIRECTORY, "README.md"), encoding="utf-8") as f:
42+
with io.open(
43+
os.path.join(CURRENT_DIRECTORY, "README.md"), encoding="utf-8"
44+
) as f:
4345
LONG_DESCRIPTION = "\n" + f.read()
4446
except FileNotFoundError:
4547
LONG_DESCRIPTION = DESCRIPTION
@@ -74,7 +76,9 @@ def run(self) -> None:
7476
pass
7577

7678
self.status("Building Source and Wheel (universal) distribution…")
77-
os.system("{0} setup.py sdist bdist_wheel --universal".format(sys.executable))
79+
os.system(
80+
"{0} setup.py sdist bdist_wheel --universal".format(sys.executable)
81+
)
7882

7983
self.status("Uploading the package to PyPI via Twine…")
8084
os.system("twine upload dist/*")
@@ -97,7 +101,7 @@ def run(self) -> None:
97101
author_email=EMAIL,
98102
python_requires=REQUIRES_PYTHON,
99103
url=URL,
100-
packages=find_packages(exclude=["tests", "*.tests", "*.tests.*", "tests.*"]),
104+
module='bash',
101105
install_requires=REQUIRED,
102106
extras_require=EXTRAS,
103107
include_package_data=True,

0 commit comments

Comments
 (0)