Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about sdist

Read more about sdist

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - sdist

Why does `python setup.py sdist` copy the entire directory into the dist file?

I am perplexed why this setup.py file # -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.rst', 'r', encoding='utf-8') as file: readme = file.read() setup( na...
test-img

Freiburgermsu

python

pypi

setup.py

sdist

Votes: 0

Answers: 1

Latest Answer

I have a similar issues. Tried using the following steps: Remove dist and *.egg-info folders. Instead of using python setup.py sdist, use python -m build --sdist. More explanations are explained at ...
test-img

Justin Xu

How to create a setuptools sdist .tar.gz package from a Conda project?

I have a PyTorch training project where dependencies are managed using conda. I need to package my project as a setuptools software distribution (sdist) in a .tar.gz file so that I can run it as a cus...
test-img

urig

python

conda

setuptools

google-cloud-vertex-ai

sdist

Votes: 0

Answers: 1

Latest Answer

You can use python setuptools to achieve it. On vertex ai documentation about using Setuptools to build a source distribution to use with Vertex AI there is a complete guide on how to achieve it. Its ...
test-img

Betjens

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved