question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Include source distribution

See original GitHub issue

According to https://pypi.org/project/flask-rest-api/#files this library currently only provides wheels to PyPI. Best practice is to upload source distributions as well. Fixing should just be a matter of running python setup.py sdist upload.

Thanks for maintaining flask-rest-api, hope to try it soon! (Would have tried it already if not for this issue, which makes it harder for me to use it on some internal infrastructure.)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
twosigmajabcommented, Oct 18, 2018

Thanks, fix confirmed!

0reactions
lafrechcommented, Oct 16, 2018

I added a MANIFEST.in file to include all needed files in the source distribution.

I also modified .travis.yml to deploy sdist and bdist_wheel to PyPI on tag publication. I got this .travis.yml throught trial and error, so anyone knowledgeable, please suggest improvements.

0.9.2 release has both sdist and bdist_wheel.

Read more comments on GitHub >

github_iconTop Results From Across the Web

4. Creating a Source Distribution — Python 3.11.1 ...
The sdist command processes this template and generates a manifest based on its instructions and what it finds in the filesystem.
Read more >
Source distribution and built distribution in python
To make a source distribution, firstly make a folder and copy setup.py and addition.py scripts into that folder(let's name it as nester). Then ......
Read more >
python - Is there a way to create a source distribution incl ...
For this purpose, I would like to have the source tree as lean as possible and utilize up-to-date python packaging patterns. Apart from...
Read more >
Understanding Python Package Distribution Types - Medium
A source distribution, or more commonly sdist, is a distribution that contains all of the python source code (i.e. .py files), any data...
Read more >
4. Package structure and distribution
The source layout#. When describing and defining package structure throughout this book, we have been nesting our package's Python code inside a src/...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found