Less Known Packaging Features and Tricks

Less Known Packaging Features and Tricks

EuroPython Conference via YouTube Direct link

File gathering: sdist

5 of 18

5 of 18

File gathering: sdist

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Less Known Packaging Features and Tricks

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 What's going on in a setup.py? It's a really nasty archiver There are a bunch of options from distutils
  3. 3 Setting the record straight Mandatory clarifications: packages vs distributions
  4. 4 Types of archives
  5. 5 File gathering: sdist
  6. 6 Inside setup.py: packages (2)
  7. 7 Advices for MANIFEST.in
  8. 8 Inside setup.py: data_files
  9. 9 A quick interlude: applications If you really need data_files you are probably trying to package an application. - Use a specialized package likes
  10. 10 A quick interlude: dependencies
  11. 11 Importing code in setup.py Don't do this
  12. 12 Optional dependencies
  13. 13 A quick interlude: Tox
  14. 14 Other ways to manage environments
  15. 15 Environment markers - PEP-426
  16. 16 Coverage for C extensions Easy to do on Linux
  17. 17 Uploading
  18. 18 Ending

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.