Commits

Tikitu de Jager  committed d642276 Draft

fixed (?) packaging/layout bug (issue #5)

  • Participants
  • Parent commits c3eaf46

Comments (0)

Files changed (3)

File argparse_config.src/setup.py

+from setuptools import setup, find_packages
+
+version = '0.4a2'
+
+def readme():
+    with open('README.rst') as f:
+        return f.read()
+
+setup(
+    name='argparse_config',
+    version=version,
+    description="Default values for argparse commandline args read from a config file.",
+    long_description=readme(),
+    url='http://bitbucket.org/tikitu/argparse_config',
+    author='Tikitu de Jager',
+    author_email='tikitu@logophile.org',
+    license='MIT',
+    classifiers=[
+        'Development Status :: 3 - Alpha',
+        'License :: OSI Approved :: MIT License',
+        'Programming Language :: Python :: 2.7',
+        'Environment :: Console',
+        'Operating System :: OS Independent',
+        'Topic :: Utilities',
+    ],
+    keywords='',
+    packages=find_packages('.'),
+    package_dir = dict((
+      ('', '.'),
+    )),
+    entry_points=dict(
+        console_scripts=[],
+    ),
+    include_package_data=True,
+    zip_safe=False,
+    install_requires=[
+    ],
+    tests_require=['nose'],
+)

File buildout.cfg

 	py
 
 develop =
-    .
-    src/script_utils/script_utils/
+    argparse_config.src
 
 sources-dir = src
 
 [versions]
 
 [sources]
-script_utils = hg http://bitbucket.org/tikitu/script_utils
 
 [argparse_config]
 recipe = z3c.recipe.scripts

File setup.py

-from setuptools import setup, find_packages
-
-version = '0.4a2'
-
-def readme():
-    with open('argparse_config.src/README.rst') as f:
-        return f.read()
-
-setup(
-    name='argparse_config',
-    version=version,
-    description="Default values for argparse commandline args read from a config file.",
-    long_description=readme(),
-    url='http://bitbucket.org/tikitu/argparse_config',
-    author='Tikitu de Jager',
-    author_email='tikitu@logophile.org',
-    license='MIT',
-    classifiers=[
-        'Development Status :: 3 - Alpha',
-        'License :: OSI Approved :: MIT License',
-        'Programming Language :: Python :: 2.7',
-        'Environment :: Console',
-        'Operating System :: OS Independent',
-        'Topic :: Utilities',
-    ],
-    keywords='',
-    packages=find_packages('argparse_config.src'),
-    package_dir = dict((
-      ('', 'argparse_config.src'),
-    )),
-    entry_points=dict(
-        console_scripts=[],
-    ),
-    include_package_data=True,
-    zip_safe=False,
-    install_requires=[
-    ],
-    tests_require=['nose'],
-)