mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Setting fixes
This commit is contained in:
parent
e7e38d409d
commit
2f8c22dc55
3 changed files with 5 additions and 16 deletions
4
fabfile.py
vendored
4
fabfile.py
vendored
|
@ -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'
|
||||
|
||||
# ============================================================================
|
||||
|
|
7
setup.py
7
setup.py
|
@ -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'])
|
||||
|
|
10
test.html
10
test.html
|
@ -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">'dpaste'</span><span class="p">,</span>
|
||||
<span class="n">version</span><span class="o">=</span><span class="s">'0.1'</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">'dpaste'</span><span class="p">:</span> <span class="p">[</span><span class="s">'bin/*.*'</span><span class="p">,</span> <span class="s">'static/*.*'</span><span class="p">,</span> <span class="s">'templates/*.*'</span><span class="p">]},</span>
|
||||
<span class="n">exclude_package_data</span><span class="o">=</span><span class="p">{</span><span class="s">'dpaste'</span><span class="p">:</span> <span class="p">[</span><span class="s">'bin/*.pyc'</span><span class="p">]},</span>
|
||||
<span class="n">scripts</span><span class="o">=</span><span class="p">[</span><span class="s">'dpaste/bin/manage.py'</span><span class="p">])</span>
|
||||
</pre></div>
|
Loading…
Reference in a new issue