Closed Grimler91 closed 2 months ago
This is a nice improvement! I had to make a few changes to get it to install. Let me know if they're ok.
@d-cogswell Hmm, what issues did you have with the version number in original attempt?
Thanks for spotting duplicate readme entry! I can confirm that it installs and seem to work fine with your changes as well!
Hi @Grimler91 your original version line was causing this error for me on a couple different Python versions:
ValueError: invalid pyproject.toml config: `project.version`.
configuration error: `project.version` must be string
I couldn't figure out exactly what it didn't like, but the dynamic option seems to work.
Rebased against development branch, should be ready to be merged IMHO, thanks!
I am a creature of habit. Back in the day a setup.py project was suppose to installed with
python setup.py install
, but running it now on somewhat modern installations give a deprecation warning:Proper way to install projects is the one specified in README:
pip install .
, but let's anyways convert to a pyproject.toml so that there is zero chance of myself and other users using the deprecated installation command to install NewareNDA.The NewareNDAcli script installs to NewareNDA-cli.py as before (but seems like it - is not allowed in filename so had to rename the file), and pytest still works.