pypa / pypa/setuptools

Create debian source package (.dsc, .orig.tar.gz and .diff.gz files) with sdist

Open
#1,601 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.9k
Forks
1.4k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Hi!

I need to create debian source package of setuptools for future build it in OpenSUSE OBS for different platforms.

First of all, as it said in https://github.com/pypa/setuptools/issues/1473, sdist_dsc doesn't work with .zip extensions, so i changed --formats in setup.cfg

After that python setup.py --command-packages=stdeb.command sdist_dsc procceded without any error, but result .dsc file content only one package in packages list, however in setup.py: packages=setuptools.find_packages(exclude=['*.tests'])

It means that after python-setuptools will be delivered to apt repository, it will not have python-pkg-resourses package.

Is it possible to create multiple packages from one source setuptools?

Thanks in advance,
VK

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with setup.cfg's --formats setting, setup.py's find_packages(exclude=['*.tests']), and the stdeb.command sdist_dsc entry point. Reproduce the command and inspect the generated .dsc package list; done means establishing whether one source distribution can produce both python-setuptools and python-pkg-resources packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.