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

Dashes or underscores? #10

Open
juanpabloaj opened this issue Feb 11, 2015 · 2 comments
Open

Dashes or underscores? #10

juanpabloaj opened this issue Feb 11, 2015 · 2 comments
Labels

Comments

@juanpabloaj
Copy link
Owner

@msabramo I read your setuptools issue

https://bitbucket.org/pypa/setuptools/issue/307/pep440-code-in-setuptools-821-is-parsing

when I started pip-init package, I had the same question: in the package name of base setup.py file is better a dash or underscore ?

so, when a base setup.py file is created, and if the package name have dashes, is a good idea replace automaticaly the dash to a underscore ?

@msabramo
Copy link

Yeah I think if I were doing a new package, I would choose underscore over a dash. This PEP 440 problem is one reason. Also, I used a dash for a package at work once and found that our internal package index did not like it. So I would tend to use the underscore instead.

@ghost
Copy link

ghost commented Apr 1, 2015

underscore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants