Commits

jason kirtland  committed 7e96adf

Include i18n artifacts in the sdist and install.

  • Participants
  • Parent commits ec7b8e3

Comments (0)

Files changed (3)

 recursive-include docs/source *rst *py
 recursive-include docs/text *txt
 recursive-include docs/html *html *txt *png *css *js *inv
-
+recursive-include flatland *.mo *.po *.pot
 	pybabel update -i $(I18N)/flatland.pot -d $(I18N) \
 	  -D flatland --previous
 
-tip-sdist:
+compile-messages:
+	pybabel compile -d $(I18N) -D flatland
+
+tip-sdist: compile-messages
 	@echo "Preparing sdist of flatland @ hg.$(TIP)"
 	perl -pi -e \
           "s~version = flatland.__version__~version = 'hg.$(TIP)'~" \
 try:
     from setuptools import setup, find_packages
     extra_setup = dict(
+        include_package_data=True,
         zip_safe=True,
-        tests_require=['nose', 'Genshi'],
+        tests_require=['nose'],
         # for tests, prefer just 'nosetests tests'
         test_suite='nose.collector',
         )