Permalink
Browse files

should now work without setuptools, and setup.py build is now wrking

git-svn-id: http://evserver.googlecode.com/svn/trunk@100 e9bb6d7e-af12-11dd-bad7-87afd3b02348
  • Loading branch information...
1 parent bd20703 commit e44927f5b7c1ff24626f518699b4129330b00dc5 majek04 committed Mar 14, 2009
@@ -0,0 +1 @@
+PYTHONPATH="..:$HOME/amqplib-0.6/" DJANGO_SETTINGS_MODULE=django_agentpush.settings evserver --listen 127.0.0.1:9001 --status 127.0.0.1:9901 --framework=django
View
@@ -1,9 +1,16 @@
-from setuptools import setup, find_packages
-from setuptools.dist import Distribution
import os
import subprocess
import re
+try:
+ from setuptools import setup, find_packages
+ from setuptools.dist import Distribution
+except ImportError:
+ from distutils.core import setup, Distribution
+ w = os.walk('evserver')
+ find_packages = lambda:[r.replace('/','.') for r, d, _ in w if '.' not in r]
+
+
version = "0.01"
try:
@@ -32,7 +39,8 @@ def has_ext_modules(self):
author = "Marek Majkowski",
url = "http://code.google.com/p/evserver/wiki/Documentation",
license = "BSD",
- package_data = {'': ['*.so', '*dylib', '*.dll', '*.js', '*.html']},
+ package_data = {'': ['evserver', '*.cfg', '*.so', '*.dylib', '*.dll',
+ '*.js', '*.html', 'README', '*.sh']},
packages = find_packages(),
package_dir = {'':"."},

0 comments on commit e44927f

Please sign in to comment.