Skip to content

rasmuse/python-package

Repository files navigation

Getting started

  • Adjust setup.cfg and LICENSE. Things to do include but are not limited to:
    • Set author and maintainer info
    • Find and replace examplepackage by another package name
    • Exchange the LICENSE file and license metadata as appropriate (see https://choosealicense.com)
    • Adjust, remove, and add other settings as necessary
  • Read CONTRIBUTING.md for more details on how to install in dev mode, add or remove dependencies, etc.

Explanations of some choices

Python version

Well, choose whichever you like. In my world, Python 3.6 is the minimum worth considering for new projects. For now I'm putting Python 3.7 (released June 2018) as a default because

  • dataclasses (PEP 557)
  • Delayed evaluation of type annotations (PEP 563)
  • importlib.resources

.gitattributes

tl;dr: * text=auto because Windows

Slightly longer explanation: We don't want to depend on each contributor having the right settings in their git config. .gitattributes can be used to define what to do about line endings on repository level.

More advanced settings may be useful to add depending on your needs: https://git-scm.com/docs/gitattributes

TODO

  • Docs using Sphinx
  • Formatting using Black
  • Hynek Schlawack https://www.youtube.com/watch?v=9G2s1TN9QQY
    • pyflakes
      • install
      • automate using pre-commit
    • check-manifest?
      • research whether it's needed
    • probably check attrs repo
  • For release, make a detailed check list and/or automate
  • Automated version bumps?
  • Automated releases / CI?

Credits and references

Tools

Guides and inspiration

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages