Closed dbrgn closed 10 years ago
Can you add the installation instructions to the readme file?
I'd wait with this until we actually upload it to PyPI when it's finished/beta.
it may be useful for mr steffen & tobias to test it
-------- Ursprüngliche Nachricht -------- Von: Danilo Bargen Datum:05.04.2014 19:52 (GMT+01:00) An: tnc-ba/swidGenerator Cc: Faessler Christian Betreff: Re: [swidGenerator] Added setup.py to make the SWID generator easily installable (#9)
I'd wait with this until we actually upload it to PyPI when it's finished/beta.
— Reply to this email directly or view it on GitHubhttps://github.com/tnc-ba/swidGenerator/pull/9#issuecomment-39645600.
Done. OK?
Can we merge this, @cfaessler?
what happens if PYTHONPATH is not set?
Nothing. If installing the package systemwide, it goes into /usr/lib/pythonX.X/site-packages
. The PYTHONPATH variable is only relevant to the Python interpreter as far as I know.
then
python setup.py install
will install it systemwide if PYTHONPATH is not set? (you first comment)
then python setup.py install will install it systemwide if PYTHONPATH is not set? (you first comment)
- If running the command with sudo, it will get installed systemwide.
- If running the command without sudo, it will fail because of missing permissions.
- If running the command in a virtualenv, it will get installed into the virtualenv.
The way setup.py was created is the same way that almost all Python packages are distributed.
ok, thx. You got the license to merge!
Yeah!
The swid_generator script can now be installed to your local PYTHONPATH with
To install only symlinks to the sourcefiles (which means that code changes are immediately reflected in the installation), use
Refs tnc-ba/strongTNC#40.