Permalink
Browse files

Corrected flaws in the distribution mechanisms

git-svn-id: http://svn.code.sf.net/p/formunculous/code/trunk@2 73555b9c-cbee-463b-918c-5b0eed200513
  • Loading branch information...
carsongee committed Nov 20, 2009
1 parent d03c179 commit 494a0e3469f82db46f2d1d918df33f360218dab3
Showing with 7 additions and 5 deletions.
  1. +2 −0 MANIFEST.in
  2. +1 −1 formunculous/__init__.py
  3. +1 −1 setup.cfg
  4. +3 −3 setup.py
View
@@ -4,3 +4,5 @@ recursive-include ipam/support *
recursive-include scripts *
include ez_setup.py
include setuptools-0.6c9-py2.5.egg
+include README
+include COPYING
View
@@ -14,7 +14,7 @@
# along with formunculous. If not, see <http://www.gnu.org/licenses/>.
# Copyright 2009 Carson Gee
-VERSION` = (0, 1, 0, 'final', )
+VERSION = (0, 1, 0, 'final', )
def get_version():
version = '%s.%s.%s %s' % (VERSION[0], VERSION[1], VERSION[2], VERSION[3])
View
@@ -1,4 +1,4 @@
[bdist_rpm]
-doc_files = README
+doc_files = README COPYING
requires = /usr/bin/easy_install
View
@@ -31,7 +31,7 @@ def fullsplit(path, result=None):
root_dir = os.path.dirname(__file__)
if root_dir != '':
os.chdir(root_dir)
-application_dir = 'application'
+application_dir = 'formunculous'
for dirpath, dirnames, filenames in os.walk(application_dir):
# Ignore dirnames that start with '.'
@@ -42,8 +42,8 @@ def fullsplit(path, result=None):
elif filenames:
data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
-# Get the version from blog.VERSION
-version = __import__('application').get_version()
+# Get the version from formunculous.VERSION
+version = __import__('formunculous').get_version()
setup(
name = "formunculous",

0 comments on commit 494a0e3

Please sign in to comment.