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

Bugfix in setup.py #412

Merged
merged 1 commit into from
Feb 26, 2021
Merged

Bugfix in setup.py #412

merged 1 commit into from
Feb 26, 2021

Conversation

pablosnt
Copy link
Contributor

The following exception has been raised during the installation of detect-secrets in a Microsoft Windows environment (tested in PowerShell and CMD):

Traceback (most recent call last):
  File ".\setup.py", line 17, in <module>
    long_description = f.read()
  File "c:\Users\psantial\AppData\Local\Programs\Python\Python38\lib\encodings\cp1252.py", line 23, in decode
    return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 5964: character maps to <undefined>

The command used to the installation was:

$ python3 setup.py build install

With this Pull Request, the problem is solved (tested in Windows and MacOS).

@domanchi domanchi merged commit 592ccab into Yelp:master Feb 26, 2021
killuazhu pushed a commit to IBM/detect-secrets that referenced this pull request Mar 3, 2021
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.

None yet

2 participants