Here I just setup the python package using a pyproject.toml file. I decided to use this type of file since it is more modern and suggested over the older setup.py + requirements.txt.
For installing the package + dependencies (locally or pypi), I decided to use flit which seems very lightweight and simple to use, although I'm open to suggestions.
Specifically
flit install -s --deps all
will install all dependencies (specified in pyproject.toml, see dependencies and project.optional-dependencies) and the package locally (in editable mode). I added how to install the package in the README also.
Any suggestions or does this look ok @EiffL @mdschneider ? After this PR I will start adding the galaxy drawing code we discussed (the code will live in the bpp folder)
Hi @EiffL and @mdschneider - I'm merging this now to start adding the other code. Please feel free to still let me know if you have suggestions and I'm happy to open a separate PR to address them.
Here I just setup the python package using a
pyproject.toml
file. I decided to use this type of file since it is more modern and suggested over the oldersetup.py
+requirements.txt
.For installing the package + dependencies (locally or pypi), I decided to use flit which seems very lightweight and simple to use, although I'm open to suggestions.
Specifically
will install all dependencies (specified in
pyproject.toml
, seedependencies
andproject.optional-dependencies
) and the package locally (in editable mode). I added how to install the package in the README also.Any suggestions or does this look ok @EiffL @mdschneider ? After this PR I will start adding the galaxy drawing code we discussed (the code will live in the
bpp
folder)