What is the best way to distribute projects in Windows and Linux?
So there is a particular jython project that requires some dependencies, such as Jenkins, some kind of subversion, which needs to be done on Windows.
Is it sane for me to consider pip to help install all these projects, or should I look somewhere else, e.g. NSIS?
Update:
I really should put it another way – it’s my fault that I asked this question late at night.
There is an automated test project with the following dependencies:
- Java JDK
- Jayton
- Ant
- Robot framework
- Subversion
- Jenkins
I personally prefer to run on Linux, but the people who need to use it are usually Windows users. I’m confident enough to write a script to install all of this on Linux, but what I want is to have a script/installer to install the relevant tools.
I’d prefer to do all of this with one script – it’s easy to use apt-get on Ubuntu; But on Windows, this quickly becomes important.
What is the best way to try to do this? I should create a separate installer for a separate OS
Solution
pip
is pip install
packages, short for python packages, which only installs Python packages.
Since Jenkins and Subversion are not Python packages, as far as I know, you can’t install them, and it’s not “normal”.
Unfortunately, there is no one established tool that can install everything on every platform.
Use pip
to install all Python packages, preferring to use virtualenv
to create an isolated Python environment to manage your projects.