-
Notifications
You must be signed in to change notification settings - Fork 74
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
added setup.py #10
base: master
Are you sure you want to change the base?
added setup.py #10
Conversation
Hi @Agent-Hellboy thanks for the PR, good job 👍 two quick points
If yes then:
Feel free to update the same PR with the changes. |
@chiragnagpal please review. |
Sir, Currently, I have added the dependencies in install_requires filed of setup.py file explicitly. But if the dependencies increase then it may breaks. |
sorry about this. I found this from https://packaging.python.org/tutorials/installing-packages/ pip install repo_link is working currently. And about adding this to the CI pipeline. if I add this to.travis.yml I am not sure but it will only fetch dependencies from the master branch or we have to specify that info in every branch .travic.yml file. I thick pip install. will be a better choice for CI. About adding wheel to dependency I think if you have pip then you already had wheel found this from pyproject.toml file of pip
again sorry about adding pip install wheel to .travis.yml file it was there when I think of installing the package using python setup.py install |
@Agent-Hellboy No problem at all, I appreciate your help.
|
One more query.
I have also checked the get_data function of pkgutil form this path
if name means |
Hmm, when you update the PR travis would automatically check for these functions, if something is wrong it travis would break somewhere.... |
Yes, sir, Travis will check, But I have experience of breaking the code of a package having a subpackage or data file because I was running the test cases before build. That why I was hesitant. Now I get it. why you are insisting on |
Sir, there is no setup.py file in your repo that's why CI fails. either we have to add my repo link for this build to pass or we have to update the .travis file after this merge. I have taken the latter approach. |
Is there a reason why this pull request has not been merged? I'd like to add this package to my environment however the safeguards in place with a proper setup.py are important to many potential users, myself included. |
@Jesse-Islam agreed. feel free to create a PR or restart the previous one. |
The name dsm is already taken so please choose another name or add suffix or prefix to it.
Also, add keywords.
if you allow then I can also upload it to the PyPi.
please review and provide suggestions.