Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3346448
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:18:19+00:00 2026-05-18T01:18:19+00:00

am new to Python packaging and am trying to work out which flags I

  • 0

am new to Python packaging and am trying to work out which flags I need to get something uploaded properly into PyPi. distribute seems to building things them deleting them straight away. How do I stop that from happening?

Here is the traceback:

tim@falcon:~/Code/slate$ python setup.py sdist
running sdist
running egg_info
writing requirements to src/slate.egg-info/requires.txt
writing src/slate.egg-info/PKG-INFO
writing top-level names to src/slate.egg-info/top_level.txt
writing dependency_links to src/slate.egg-info/dependency_links.txt
writing manifest file 'src/slate.egg-info/SOURCES.txt'
creating slate-0.2.3
creating slate-0.2.3/src
creating slate-0.2.3/src/slate
creating slate-0.2.3/src/slate.egg-info
making hard links in slate-0.2.3...
hard linking .gitignore -> slate-0.2.3
hard linking LICENSE -> slate-0.2.3
hard linking README -> slate-0.2.3
hard linking setup.py -> slate-0.2.3
hard linking src/slate/__init__.py -> slate-0.2.3/src/slate
hard linking src/slate/slate.py -> slate-0.2.3/src/slate
hard linking src/slate.egg-info/PKG-INFO -> slate-0.2.3/src/slate.egg-info
hard linking src/slate.egg-info/SOURCES.txt -> slate-0.2.3/src/slate.egg-info
hard linking src/slate.egg-info/dependency_links.txt -> slate-0.2.3/src/slate.egg-info
hard linking src/slate.egg-info/requires.txt -> slate-0.2.3/src/slate.egg-info
hard linking src/slate.egg-info/top_level.txt -> slate-0.2.3/src/slate.egg-info
Writing slate-0.2.3/setup.cfg
tar -cf dist/slate-0.2.3.tar slate-0.2.3
gzip -f9 dist/slate-0.2.3.tar
removing 'slate-0.2.3' (and everything under it)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:18:20+00:00Added an answer on May 18, 2026 at 1:18 am

    This message seems to indicate that the script removed a temporary directory created to do your package… The .tar.gz file is not removed. Check your dist directory for it.

    To upload you can probably use distutils-documented way:

    python setup.py sdist upload
    

    Some good reads:

    • Distutils — Official documentation on how to distribute python packages
    • The hitchhiker’s guide to python packaging
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to python, and have a list of longs which I want to
I am new to python and struggling to find how to control the amount
I'm relatively new to Python and am having problems programming with Scapy, the Python
I am extremely new to python, having started to learn it less than a
I am new to Python, and I'm working on writing some database code using
I am really new to Python and I have been looking for an example
I'm new to python, so please excuse what is probably a pretty dumb question.
I am new to python and am writing some scripts to automate downloading files
Disclaimer: I'm fairly new to python! If I want all the lines of a
This is an incredibly simple question (I'm new to Python). I basically want a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.