-
Notifications
You must be signed in to change notification settings - Fork 188
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
Add long_description_content_type to setup in setup.py #331
Labels
beginner
Beginner level issue
bug
Something went wrong
CI/CD
Continuous Integration and Continuous Delivery
good first issue
A good first issue to tackle if you are new to the project
Milestone
Comments
rnjudge
added
beginner
Beginner level issue
bug
Something went wrong
CI/CD
Continuous Integration and Continuous Delivery
good first issue
A good first issue to tackle if you are new to the project
labels
Jun 18, 2019
rnjudge
added a commit
to rnjudge/tern
that referenced
this issue
Jun 20, 2019
This commit makes very simple changes to address inconsistencies with the PEP8 style in setup.py. Specifically, this PR: 1) Cleans up indentations where necessary. 2) Fixes one line that was too long. 3) Adds new lines where necessary. By cleaning up setup.py, the next person to take on issue tern-tools#331 will not see any linting errors when they open their PR. Signed-off-by: Rose Judge <[email protected]>
nishakm
pushed a commit
that referenced
this issue
Jun 20, 2019
This commit makes very simple changes to address inconsistencies with the PEP8 style in setup.py. Specifically, this PR: 1) Cleans up indentations where necessary. 2) Fixes one line that was too long. 3) Adds new lines where necessary. By cleaning up setup.py, the next person to take on issue #331 will not see any linting errors when they open their PR. Signed-off-by: Rose Judge <[email protected]>
manaswinidas
added a commit
to manaswinidas/tern
that referenced
this issue
Jun 21, 2019
Add long_description_content_type to setup.py to avoid converting README.md to README.rst Resolves: tern-tools#331 Signed-off-by: manaswinidas <[email protected]>
rnjudge
pushed a commit
that referenced
this issue
Jun 21, 2019
Add long_description_content_type to setup.py to avoid converting README.md to README.rst Resolves: #331 Signed-off-by: manaswinidas <[email protected]>
rnjudge
added a commit
that referenced
this issue
Aug 28, 2019
This commit makes very simple changes to address inconsistencies with the PEP8 style in setup.py. Specifically, this PR: 1) Cleans up indentations where necessary. 2) Fixes one line that was too long. 3) Adds new lines where necessary. By cleaning up setup.py, the next person to take on issue #331 will not see any linting errors when they open their PR. Signed-off-by: Rose Judge <[email protected]>
rnjudge
pushed a commit
that referenced
this issue
Aug 28, 2019
Add long_description_content_type to setup.py to avoid converting README.md to README.rst Resolves: #331 Signed-off-by: manaswinidas <[email protected]>
rnjudge
added a commit
to rnjudge/tern
that referenced
this issue
Jun 5, 2020
This commit makes very simple changes to address inconsistencies with the PEP8 style in setup.py. Specifically, this PR: 1) Cleans up indentations where necessary. 2) Fixes one line that was too long. 3) Adds new lines where necessary. By cleaning up setup.py, the next person to take on issue tern-tools#331 will not see any linting errors when they open their PR. Signed-off-by: Rose Judge <[email protected]>
rnjudge
pushed a commit
to rnjudge/tern
that referenced
this issue
Jun 5, 2020
Add long_description_content_type to setup.py to avoid converting README.md to README.rst Resolves: tern-tools#331 Signed-off-by: manaswinidas <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
beginner
Beginner level issue
bug
Something went wrong
CI/CD
Continuous Integration and Continuous Delivery
good first issue
A good first issue to tackle if you are new to the project
Description
twine will not upload to pypi (or testpypi) with the current formatting of Tern's setup.py and README.md. The error I see is:
This is because the long_description reads from README.md and the expected file type is README.rst.
Implementation
Instead of converting README.md to .rst format, we can simply add the following line under long_description in setup.py:
References
Add the line within setup in the file setup.py
The text was updated successfully, but these errors were encountered: