Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed redundant favicon.ico, updated lighttpd config to reflect, an…

…d setup.py because www is now empty by default.
  • Loading branch information...
commit 6a370f9ea807bdfe0718862437aedf59e00120e2 1 parent 6cff8cd
@macropin macropin authored
View
2  deployment/lighttpd.conf
@@ -28,7 +28,7 @@ alias.url = (
url.rewrite-once = (
"^(/media.*)$" => "$1",
"^(/static.*)$" => "$1",
- "^/favicon\.ico$" => "/media/favicon.ico",
+ "^/favicon\.ico$" => "/static/tms/images/favicon.ico",
"^(/.*)$" => "/tms.fcgi$1",
)
View
22 setup.py
@@ -40,18 +40,8 @@ def findall(dir, pattern='*'):
return all_files
-# Data files to package
-data_files = findall('www')
-data_files.extend([
- ('adlibre_tms', ['settings.py', 'local_settings.py.example', 'adlibre_tms/manage.py']),
- ('db', ['db/.gitignore']),
- ('deployment', find_files('deployment', '*')),
- ('docs', find_files('docs', '*')),
-])
-
-
setup(name='adlibre_tms',
- version='0.1.0',
+ version='0.1.1',
long_description=open('README.md').read(),
url='https://github.com/macropin/Adlibre-TMS',
packages=find_packages('.'),
@@ -91,7 +81,13 @@ def findall(dir, pattern='*'):
'templates/uni_form/*.html',
], # this should be done automatically
},
- data_files=data_files,
+ data_files=[
+ ('adlibre_tms', ['settings.py', 'local_settings.py.example', 'adlibre_tms/manage.py']),
+ ('db', ['db/.gitignore']), # create empty dir
+ ('deployment', find_files('deployment', '*')),
+ ('docs', find_files('docs', '*')),
+ ('www', 'www/.gitignore'), # create empty dir
+ ],
install_requires=[
'BeautifulSoup==3.2.0',
'Django==1.3.1',
@@ -104,8 +100,6 @@ def findall(dir, pattern='*'):
'template-utils==0.4p2',
'xml-models==0.5.1'
],
-# dependency_links = [
-# ],
)
View
2  www/.gitignore
@@ -0,0 +1,2 @@
+media
+static
View
BIN  www/media/favicon.ico
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.