Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize packaging #669

Closed
nhoening opened this issue May 5, 2023 · 0 comments · Fixed by #671
Closed

Modernize packaging #669

nhoening opened this issue May 5, 2023 · 0 comments · Fixed by #671

Comments

@nhoening
Copy link
Contributor

nhoening commented May 5, 2023

Packaging of FlexMeasures needs some attention, to stop calling setup.py and to fix some packaging.

In any case, we should switch to python -m build in the to_pypi script, and to pip install -e in the Makefile.

Also, running /to_pypi.sh --dry-run, I see this error:

/home/nicolas/envs/fm-3.10/lib/python3.10/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'flexmeasures.api.common.schemas' is absent from the `packages` configuration.

Maybe we need to be more explicit. There is some help in the warnings.

@nhoening nhoening mentioned this issue May 6, 2023
4 tasks
@nhoening nhoening linked a pull request May 6, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant