- Notifications
You must be signed in to change notification settings - Fork845
refactor: add project management#651
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
High-level overview of changes:1. rename src to flaresolverr in order to namespace the package appropriately2. Move package.json from root folder into flaresolverr so that it can be read by the utils.get_flaresolverr_version() method3. Rewrite necessary import statements to use the full package name as per step 14. Move script entry point into separate method (cli_run)5. Manually added poetry dependencies as per existing requirements.txt file
HLFH commentedJan 5, 2023
Cool thanks. For 5, why not usingHatch instead of Poetry? |
cwegener commentedJan 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
No particular reason. It's just what I'm used to using. Happy to have it be hatch instead of poetry. I did give it a quick try to create pyproject.toml for Here is what I have at the moment ...
|
@HLFH I pushed the change from poetry to hatch. Also, I just noticed that there is a |
HLFH commentedJan 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Thanks a lot! I have a few comments on your great
Indeed, thanks! |
HLFH commentedJan 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I updated the |
@cwegener@HLFH@M4RC0Sx I don't know much about Python packaging so I have some questions.
|
HLFH commentedJan 5, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
https://github.com/HLFH/FlareSolverr/commits/master I have turned off dynamic versioning until it is fixed. @ngosang I'll reply to you ASAP. |
Here are my $.02
In terms of project management tools, there is no more authoritative and mature tool than
Good idea. Not in scope for this change set though.
Dependencies are declared in the core metadata as specified in the PyPA Packaging Guidehttps://packaging.python.org/en/latest/specifications/core-metadata/#requires-dist-multiple-use Any Python Source Distribution that follows the PyPA Packaging Guide should have these I have simply copied the contents of As an enhancement to that,@HLFH has added the use of the The advantage of the The So, long story short: For end-users, the FlareSolverr python releases should be installed from an index (PyPI is the authoritative index), using For Docker, I have no idea. @ngosang Can you clarify what the original intention of the |
Thank you for the explanation. I will add all the changes from both PRs in the next release. Now I'm dealing with bug reports.
This porject is distributed as Docker image with Chrome and everithing configured inside. I have 12MM downloads as today =>https://hub.docker.com/r/flaresolverr/flaresolverr/ |
High-level overview of changes:
rename src to flaresolverr in order to namespace the package
appropriately
Move package.json from root folder into flaresolverr so that it can
be read by the utils.get_flaresolverr_version() method
Rewrite necessary import statements to use the full package name as
per step 1
Move script entry point into separate method (cli_run)
Manually added poetry dependencies as per existing requirements.txt
file