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

Updated template to look like the Python Packaging User Guid's sample… #18

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

constrict0r
Copy link

To resolve: #17


from setuptools import find_packages
from setuptools import setup
from os import path
Copy link
Contributor

Choose a reason for hiding this comment

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

It is recommended to use import os and use os.path, the same with io.

return re.sub(text_type(r':[a-z]+:`~?(.*?)`'), text_type(r'``\1``'), fd.read())

# Get the long description from the README file.
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't take into account the removal of Sphinx directives.

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.

The template should look like the PyPa User Guide sample project
2 participants