Maintaining a Python Project When It’s Not Your Job

Maintaining a Python Project When It’s Not Your Job

PyPI is a gold mine of great packages but those packages have to be written first. More often than not, projects that millions of people depend on are written and maintained by only one person. If you’re unlucky, that person is you! This talk tries to lighten the burden by giving you useful tools and approaches.

174e7b0ff60963f821d0b9a4f1a3ef52?s=128

Hynek Schlawack

May 03, 2019
Tweet

Transcript

  1. 2.
  2. 3.
  3. 9.
  4. 10.
  5. 11.
  6. 12.
  7. 15.
  8. 21.
  9. 24.
  10. 30.
  11. 31.
  12. 32.
  13. 33.
  14. 34.
  15. 35.
  16. 36.
  17. 37.
  18. 38.
  19. 44.
  20. 50.

    tox.ini [testenv:docs] basepython = python3.7 extras = docs commands =

    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
  21. 51.

    tox.ini [testenv:docs] basepython = python3.7 extras = docs commands =

    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
  22. 52.

    tox.ini [testenv:docs] basepython = python3.7 extras = docs commands =

    sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html python -m doctest README.rst
  23. 55.
  24. 56.
  25. 57.
  26. 59.
  27. 60.
  28. 61.
  29. 62.
  30. 63.
  31. 64.
  32. 65.
  33. 67.
  34. 68.
  35. 69.

    __init__.py __version__ = "19.2.0.dev0" __title__ = "attrs" __description__ = "Classes

    Without Boilerplate" __url__ = "https://www.attrs.org/" __doc__ = __description__ + " <" + __uri__ + ">" __author__ = "Hynek Schlawack" __email__ = "hs@ox.cx" __license__ = "MIT" __copyright__ = "Copyright (c) 2015 Hynek Schlawack"
  36. 70.

    __init__.py __version__ = "19.2.0.dev0" __title__ = "attrs" __description__ = "Classes

    Without Boilerplate" __url__ = "https://www.attrs.org/" __doc__ = __description__ + " <" + __uri__ + ">" __author__ = "Hynek Schlawack" __email__ = "hs@ox.cx" __license__ = "MIT" __copyright__ = "Copyright (c) 2015 Hynek Schlawack"
  37. 72.
  38. 73.
  39. 74.
  40. 75.
  41. 76.
  42. 77.
  43. 78.