Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update setup.py #114

Merged
merged 2 commits into from
Jan 25, 2022
Merged

Update setup.py #114

merged 2 commits into from
Jan 25, 2022

Conversation

rafaelrdealmeida
Copy link
Contributor

@pep8speaks
Copy link

pep8speaks commented Jan 25, 2022

Hello @rafaelrdealmeida! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2022-01-25 01:03:31 UTC

@akamhy akamhy merged commit 5529674 into akamhy:master Jan 25, 2022
akamhy added a commit that referenced this pull request Jan 25, 2022
For some reason updates made at #114
are breaking the build using setup, caught while deploying to a cloud service
provider.

The exact error is:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-n3b9e5pj/setup.py", line 5
  os.path.join(os.path.dirname(__file__), README.md), encoding=utf-8),
                                                                                ^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

See also :
conda-forge/staged-recipes#17634
@@ -1,11 +1,16 @@
import os.path
from setuptools import setup

with open(os.path.join(os.path.dirname(__file__), "README.md")) as f:
with open(
os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8"),
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I somehow missed it and the project doesn't build test via the CI. Fixed in #116.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue is with the "," at the end of line 5.

@akamhy akamhy mentioned this pull request Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants