Commits

Branko Vukelic committed 067033f

Fixed to distutils to include the fixtures

Comments (4)

  1. Theo Chatzimichos

    It installs the fixture, but still ignores MANIFEST.in

    % python setup.py -n build  
    running build
    running build_py
    creating build/lib/international/fixtures
    copying international/fixtures/countries_fixture.json -> build/lib/international/fixtures
    

Files changed (2)

 include README.rst
-include international/fixtures/*.json
 include LICENSE
 include NEWS
-from setuptools import setup, find_packages
+from distutils.core import setup
 
 setup(
     name='django-international',
     description='Country and currency data for Django projects',
     long_description=open('README.rst').read(),
     version='0.0.5',
-    packages=find_packages(),
-    include_package_data=True,
+    packages=['international'],
+    package_data={
+        '': ['fixtures/*.json'],
+    },
     author='Monwara LLC',
     author_email='branko@monwara.com',
     url='https://bitbucket.org/monwara/django-international',