Closed ross-spencer closed 2 years ago
Initially, we can archive all with something like: https://github.com/fabacab/git-archive-all.sh/blob/master/git-archive-all.sh
Pypa sample package: https://github.com/pypa/sampleproject
Setup notes: https://docs.python.org/3/distutils/setupscript.html
Notes on code-layout: https://realpython.com/python-application-layouts/#installable-single-package
NB. demystify py3 isn't looking too bad in this regard. Might be worth moving the entry point up a directory, creating another sub-level, and having a setup script so it can be installed using setup.py and then into the caller's %path%.
There are a handful of packages for pathlesstaken and sqlitefid now. The process is getting easier and looking good. We will remove Python 2 compatibility and test on Py35 and Py39 to begin.
TODO:
./src/app/main.py
identify a way to create a main
entry-point from the root git directory for those cloning and using from source. Good article about using src/package
as demonstrated in PyPi sample package repo: https://blog.ionelmc.ro/2014/05/25/python-packaging/
Pathless taken imports
Resolved with: https://github.com/exponential-decay/demystify/commit/aafc72481b7d7276eac043fe7501fa3267c37c80
Release information and static download here: https://github.com/exponential-decay/demystify/releases/tag/v2.0.0rc1
E.g. with Poetry https://hackersandslackers.com/python-poetry-package-manager/