sdist Questions

2

Solved

I have, in a single repo, two Python projects that both depend on a shared utility package. My goal is to package each of the two projects in a software distribution package (i.e. a .tzr.gz file) I...
Right asked 15/6, 2022 at 10:13

4

Solved

When doing python setup.py sdist bdist_wheel it creates build, dist, packagename.egg-info directories. I'd like to have them out of the current folder. I tried: --dist-dir=../dist: works with sdi...
Carditis asked 22/11, 2020 at 9:32

1

We have a big legacy project that contains some python code inside, the version of all components in the project is set during runtime by the build system which builds the project. We now need to p...
Drusilla asked 27/6, 2021 at 7:43

3

Solved

I have a setup.py: from setuptools import setup setup( ... packages=['mypackage'], test_suite='mypackage.tests', ... ) python setup.py sdist creates a file that includes only the source mo...
Buoyant asked 28/1, 2013 at 0:9

0

I bundle my package as a sdist zip file , after that i can import my package anywhere using pip install , but i want to run some post install commands automatically after calling pip install. I can...
Exchange asked 24/4, 2018 at 5:38

1

I would like to find the proper way to include files in a python sdist that are not tracked by git. Context The .mo files from my project are not tracked by git (like some other .txt files that n...
Lunt asked 18/7, 2016 at 14:35

1

Solved

I know it is possible to force sdist to produce .zip from command line: python setup.py sdist --formats=zip But how to make this option a default for my setup.py? I'd like to get consistency fo...
Bidden asked 17/1, 2015 at 10:37

2

Solved

I am a bit confused. There seem to be two different kind of Python packages, source distributions (setup.py sdist) and egg distributions (setup.py bdist_egg). Both seem to be just archives with th...
Sentimentality asked 9/6, 2011 at 12:17

1

Solved

Everytime I use sdist to creat the MANIFEST file with the command: 'python setup.py sdist --manifest-only' The terminal always outputs this error msg. error: option --manifest-only not reco...
Bigotry asked 13/4, 2011 at 15:32

1

Solved

About the only reason I can think of to distribute a python package as an egg is so that you can not include the .py files with your package (and only include .pyc files, which is a dubious way to ...
Unthankful asked 13/11, 2010 at 1:42
1

© 2022 - 2024 — McMap. All rights reserved.