Skip to content

Commit

Permalink
Organizing pip setup
Browse files Browse the repository at this point in the history
  • Loading branch information
victorette committed Jun 20, 2014
1 parent 97dbbac commit 283d4e6
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 284 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,7 @@ At this point you should have modified those files **settings.py** and **urls.py

### Add a new ExtJS app

### Customizing models
### Customizing models

### Production
Copy ...Python/2.7/lib/python/site-packages/protobase/static to your local static folder...
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# -*- coding: utf-8 -*-

import os
from setuptools import setup
from setuptools import find_packages
Expand All @@ -12,7 +11,7 @@
setup(
name='django-softmachine',
version='1.0.2',
packages=find_packages('src',exclude=['tests','alltests', 'softmachine']),
packages=find_packages('src',exclude=['alltests', 'softmachine', 'alltests.*']),
package_dir = {'':'src'},
include_package_data=True,
license='GPL License, see docs/LICENCE.md',
Expand Down
20 changes: 0 additions & 20 deletions src/snippets/css/print.css

This file was deleted.

84 changes: 0 additions & 84 deletions src/snippets/css/printDGT.css

This file was deleted.

174 changes: 0 additions & 174 deletions src/snippets/css/protoOrg.css

This file was deleted.

5 changes: 2 additions & 3 deletions src/softmachine/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
TEMPLATE_DEBUG = DEBUG

EXTJS_VERSION = '4.2.1'
EXTJS_URL = 'http://cdn.sencha.com/ext/gpl/'

ADMINS = (
('Dario Gomez', 'dariogomezt@gmail.com'),
Expand Down Expand Up @@ -91,9 +90,9 @@
)

if PPATH.startswith('/'):
EXT_PATH = '/opt/data/ExtJs'
EXT_PATH = '/opt/data/ext-%(extjsversion)s' % {"extjsversion" : EXTJS_VERSION}
else:
EXT_PATH = 'd:/data/ExtJs'
EXT_PATH = 'd:/data/ExtJs/'

STATICFILES_DIRS = (
PPATH + '/static',
Expand Down
1 change: 1 addition & 0 deletions src/softmachine/settings_development.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
'django.contrib.auth',
'django.contrib.admin',
'django.contrib.admindocs',
'protobase',
'protoLib',
'prototype',
'alltests',
Expand Down

0 comments on commit 283d4e6

Please sign in to comment.