Setting fixes

This commit is contained in:
Martin Mahner 2013-03-19 19:58:10 +01:00
parent e7e38d409d
commit 2f8c22dc55
3 changed files with 5 additions and 16 deletions

4
fabfile.py vendored
View file

@ -11,8 +11,8 @@ env.proj_repo = 'git@github.com:bartTC/dpaste.de.git'
env.root = '/opt/webapps/dpaste.de'
env.proj_root = env.root + '/src/dpastede'
env.pid_file = env.root + '/var/gunicorn.pid'
env.proj_bin = env.proj_root + '/dpaste/bin'
env.local_settings = env.proj_root + '/dpaste/conf/local/settings.py'
env.proj_bin = env.proj_root + '/'
env.local_settings = env.proj_root + '/dpaste/settings_local.py'
env.pip_file = env.proj_root + '/requirements.pip'
# ============================================================================

View file

@ -2,8 +2,7 @@
from setuptools import setup, find_packages
setup(name='dpaste',
version='0.1',
version='1.0',
packages=find_packages(),
package_data={'dpaste': ['bin/*.*', 'static/*.*', 'templates/*.*']},
exclude_package_data={'dpaste': ['bin/*.pyc']},
scripts=['dpaste/bin/manage.py'])
package_data={'dpaste': ['static/*.*', 'templates/*.*']},
scripts=['manage.py'])

View file

@ -1,10 +0,0 @@
<div class="highlight"><pre><span class="c">#!/usr/bin/env python</span>
<span class="kn">from</span> <span class="nn">setuptools</span> <span class="kn">import</span> <span class="n">setup</span><span class="p">,</span> <span class="n">find_packages</span>
<span class="n">setup</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s">&#39;dpaste&#39;</span><span class="p">,</span>
<span class="n">version</span><span class="o">=</span><span class="s">&#39;0.1&#39;</span><span class="p">,</span>
<span class="n">packages</span><span class="o">=</span><span class="n">find_packages</span><span class="p">(),</span>
<span class="n">package_data</span><span class="o">=</span><span class="p">{</span><span class="s">&#39;dpaste&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s">&#39;bin/*.*&#39;</span><span class="p">,</span> <span class="s">&#39;static/*.*&#39;</span><span class="p">,</span> <span class="s">&#39;templates/*.*&#39;</span><span class="p">]},</span>
<span class="n">exclude_package_data</span><span class="o">=</span><span class="p">{</span><span class="s">&#39;dpaste&#39;</span><span class="p">:</span> <span class="p">[</span><span class="s">&#39;bin/*.pyc&#39;</span><span class="p">]},</span>
<span class="n">scripts</span><span class="o">=</span><span class="p">[</span><span class="s">&#39;dpaste/bin/manage.py&#39;</span><span class="p">])</span>
</pre></div>