Closed moylop260 closed 1 year ago
About the packaging, it uses flit and the information is in pyproject.toml
. I tried to make it this package more "modern", it is related to PEP 517 and other concepts. I think the only stuff missing would be things like LICENSE, author, and classifier information, and the pipeline.
Regarding lints, since this project is using pyproject.toml
, pre-commit-vauxoo breaks it. I opened an issue about it:
https://github.com/Vauxoo/pre-commit-vauxoo/issues/118
Should not be too hard to fix it.
Regarding lints, since this project is using
pyproject.toml
, pre-commit-vauxoo breaks it. I opened an issue about it: Vauxoo/pre-commit-vauxoo#118Should not be too hard to fix it.
Replied in the another issue
Summary: No problem overwritting the file
FYI I have updated some items in the description of this issue
@antonag32
I think we will need to rename the packaga again 😢
I just ran the following commands:
python3 -m build --sdist --wheel --outdir dist/ && \
python3 -m twine check --strict dist/* && \
python3 -m twine upload --verbose --repository-url https://upload.pypi.org/legacy/ dist/*
And the ouput was:
400 The name 'odoo-selenium' is too similar to an existing project. See https://pypi.org/help/#project-name for more information.
It looks because of the following project:
Dangit, I am biased because I came up with, but osut is a pretty weird name, I don't think anyone else is using it. It also follows PEP recommendations (AFAIK):
https://peps.python.org/pep-0008/#package-and-module-names
Modules should have short, all-lowercase names. Underscores can be used in the module name if it improves readability. Python packages should also have short, all-lowercase names, although the use of underscores is discouraged.
When an extension module written in C or C++ has an accompanying Python module that provides a higher level (e.g. more object oriented) interface, the C/C++ module has a leading underscore (e.g. _socket).
FYI I have added bump2version, build and publish packages from:
The following version was uploaded using this way:
Steps to publish:
bump2version patch
git push stb main --tags
Almost of bullet point were fixed
Only one extra point is pending so creating a separated issue only with coverage matter
Lint
Unittest
Packaging
Project configuration
src/odoo_selenium
(ask to the team to vote what name is better) - Fixed from https://github.com/Vauxoo/odoo-selenium/pull/4README