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

setup.py #51

Open
simevo opened this issue May 23, 2017 · 2 comments
Open

setup.py #51

simevo opened this issue May 23, 2017 · 2 comments

Comments

@simevo
Copy link

simevo commented May 23, 2017

Hi, while packaging this module for debian, we noticed that the setup.py file is missing.

This file is present in the ZIP from pip, but it would be nice for us if it were in the tarball from github as well.

Thanks, Paolo

@techtonik
Copy link
Owner

@simevo thanks for packaging it for Debian. I deliberately avoided setup.py, because I think it is anti-pattern to embed package metadata into executable script. It is hard to parse, hard to update with automated tools. Luckily there are new tools like flit that are following the same idea, so I need to review them to see if my custom pypack can already use package source without setup.py at all.

@techtonik
Copy link
Owner

Found https://www.python.org/dev/peps/pep-0517/ for alternative format of source packages without setup.py. Can Debian Python Policy adopt it?

I can move to this format as well, but as you already found out I don't like micromanaging metadata about simple Python modules when all necessary info is already self-contained. Maybe you could reuse https://github.com/techtonik/pypack for Debian packaging as well.

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

No branches or pull requests

2 participants