snipt

Ctrl+h for KB shortcuts
Notice: Snipt is moving away from free accounts on May 1st, 2014. Read more about the transition here.
#5324

Python

install snapshots of distutils-based Python packages (e.g. Django) with setuptools

1
2
3
# from Ian Bicking's comment on
# http://jannisleidel.com/2007/11/using-django-with-setuptools/
python -c "import setuptools, os; __file__=os.path.abspath('setup.py'); execfile('setup.py')" develop
https://snipt.net/embed/48c936ac7d1744f560b2db764483c80f/
https://snipt.net/raw/48c936ac7d1744f560b2db764483c80f/
48c936ac7d1744f560b2db764483c80f
python
Python
3
2014-04-24T10:43:48
True
False
/api/public/snipt/5324/
install-django-with-setuptools
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="c"># from Ian Bicking&#39;s comment on</span> </span><span id="L-2"><a name="L-2"></a><span class="c"># http://jannisleidel.com/2007/11/using-django-with-setuptools/</span> </span><span id="L-3"><a name="L-3"></a><span class="n">python</span> <span class="o">-</span><span class="n">c</span> <span class="s">&quot;import setuptools, os; __file__=os.path.abspath(&#39;setup.py&#39;); execfile(&#39;setup.py&#39;)&quot;</span> <span class="n">develop</span> </span></pre></div> </td></tr></table>
distutils, django, install, python, setuptools