Commits

Olemis Lang  committed b03b6cd

Package name instead of top-level module for deps in `setup.py` template

  • Participants
  • Parent commits e764f23

Comments (0)

Files changed (1)

File trac-dev/_project/setup.py

   install_requires = [
       'setuptools>=0.6b1',
       'Trac>=0.11',
-      {% for d in deps.itervalues() %}
-        '${d.topmod}${d.get('verinfo', '')}', {% end %}
+      {% for pkgnm, d in deps.iteritems() %}
+        '${pkgnm}${d.get('verinfo', '')}', {% end %}
   ],
 	package_dir = dict([p, i[0]] for p, i in PKG_INFO.iteritems()),
 	packages = PKG_INFO.keys(),