-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Add Pipfile to the project #933
base: master
Are you sure you want to change the base?
Conversation
967e9fa
to
6057215
Compare
Add Pipfile and Pipfile.lock to the project. This should make dependancy managment much easier. Also testing process with tox and travis have been changed to take advantage of Pipfile.
@sophron Can we proceed with this? |
Hi @blackHatMonkey, I don't see any Also, a couple of questions:
Thanks! |
Since we are using
I suggest watching this as he explains it better than I ever could but in essence it allows for a completely reproducible environments and builds. So it should make our testing and in the future deployment easier.
As far as maintenance goes we can update them as often as we need to but maybe once a month should be more than enough. All we have to do is run |
Introducing new functionalities and tools is not as simple as it sounds. It may indeed solve a few problems but it will also raise the complexity of managing the project. And remember, that we are volunteers that have not signed any kind of contract. Having said that, I'm not against this PR but I will have to understand the reasoning behind this.
In what way it will make it easier? What are the problems with our current testing and our current deployment that it will solve? And what do you mean by "future deployment"? |
The current testing setup is pretty good but it has one downside which is you can't do functional testing with it. This means that to fully test any changes you either must have a kali machine or a virtual machine. With |
Okay, I now see that What I expect however is to be able to do Brian, do you think you can make these fixes and update the PR? PS: Kudos to @alexkiousis that quickly demonstrated |
@sophron I think it would be better to have a separate PR for that and after that we can merge this. What do you think? |
Move the dependency checks from the setup.py file to it's own module so building the project becomes easier. This is due to the fact of waiting on stdin in case exteranl dependency was not installed. The checks now happen at run time. seealso #933
Let's work on merging #960 first. |
Add
Pipfile
andPipfile.lock
to the project. This should make dependency management much easier. Also testing process with tox andtravis
have been changed to take advantage ofPipfile
.Also aMakefile
is added to make it easier to run commands. For example for running test all you need to do is runmake test
and this could be integrated into text-editors and IDEs.