Skip to content

Switch to Flit for packaging #94

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

Closed
crccheck opened this issue May 4, 2019 · 6 comments
Closed

Switch to Flit for packaging #94

crccheck opened this issue May 4, 2019 · 6 comments

Comments

@crccheck
Copy link
Owner

crccheck commented May 4, 2019

https://flit.readthedocs.io/en/latest/index.html

@crccheck
Copy link
Owner Author

I tested Flit out in https://github.com/crccheck/project_runpy and it was... pretty nice. The downside is you can't pip install -e anymore though

@merwok
Copy link

merwok commented Oct 8, 2019

pip install should work, if you have the right pyproject.toml: https://github.com/caravancoop/configstore/blob/master/pyproject.toml (build-system section, the rest is equivalent to flit.ini)

@crccheck
Copy link
Owner Author

crccheck commented Oct 8, 2019

Thanks, I was going to tackle this soon as cleanup before I start removing support for Django v1 since Django v3 is around the corner.

crccheck added a commit that referenced this issue Nov 14, 2019
I'm not planning on doing a Sphinx site, so let's use Markdown to make the documentation easier to maintain.

Part of #94
@crccheck
Copy link
Owner Author

crccheck commented Nov 14, 2019

looks like pip install -e still doesn't work:

ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: xxxxxxxx
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)

pypa/pip#6950

@merwok
Copy link

merwok commented Nov 14, 2019

There is an ongoing discussion to determine whether pip editable installs should be pluggable (similar to how pip install can call any build system to get a wheel). In the meantime, people have to use lower-level mecanisms specific to the build tool, like python setup.py develop for setuptools or flit install --symlink for flit.

@crccheck
Copy link
Owner Author

semantic release solves the problems I had with Poetry, so I'm sticking with Poetry

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