Conversation
|
@quaquel One thing still needs to be implemented, and I need a bit of help from you on that. That is the packaing, or what files/directories to include in the package. Currently there is quite a large script for, but I'm sure we could simplify that. Could you tell me which folders and files need to be exactly included in the package? Then I will take an initial jab at implementing that in the pyproject.toml. |
|
With a bit of reverse engineering I figured it out. :) The reverse-wildcard trick is brand new and not even documented in Setuptools yet (I found it in a PR, and requested it to be documented in the Data Files Support docs). |
|
@quaquel Ready for review! Please also check the updated installation instructions, and if the right dependencies are assigned to each of the extras. (please do not merge yet, even if everything looks goods, I want to clean the commits up before merging) |
|
You might have to walk me through all these changes in person. A couple of things
|
|
Thanks for reviewing! I will look into your points, let's walk through them Monday. Can we do 16:00 by the way? I won't be able to make 15:30. |
|
@quaquel Turns out both JPype and pythonnet crash on other OSes than Windows. In the latest commit:
On my side it's ready, if you agree, I will clean it up and merge! |
|
looks good so go ahead |
This commit does three things: - It migrates the project install commands and metadata from `setup.py` to `pyproject.toml`. It largely follows the convention from https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html. - It moves the dependencies from `requirements.txt` to the `pyproject.toml` file, and thereby also defines a few sets of optional depenencies. Note that many dependencies that were defined in the `requirements.txt` are now optional. - It updates the CI to work with this new configuration.
Update the installation docs (installation.rst) to mention the pyproject.toml configuration and how to use the extras which install optional dependencies.
This PR does two things:
setup.pytopyproject.toml. It largely follows the convention from setuptools.requirements.txtto thepyproject.tomlfile, and thereby also defines a few sets of optional depenencies. Note that many dependencies that were defined in therequirements.txtare now optional.This PR succeeds #151 and closes #130.
To-do:
pyproject.toml:"all"extras which installs everything"all"extra on Linux and macOS (does Pythonnet error?)The installation.rst docs are also updated to reflect the new options for installing extras.