Commits

Andriy Kornatskyy  committed 7b596eb

Applied package versioning.

  • Participants
  • Parent commits 8f69aa4

Comments (0)

Files changed (2)

 	$(PYTHON) setup.py -q bdist_egg
 
 upload:
-	REV=$$(hg head --template '{rev}');\
+	REV=$$(hg head --template '{rev}') ; \
+	sed -i "s/'0.1'/'0.1.$$REV'/" src/wheezy/web/__init__.py ; \
 	if [ "$$(echo $(VERSION) | sed 's/\.//')" -eq 27 ]; then \
 		$(PYTHON) setup.py -q egg_info --tag-build .$$REV \
 			sdist register upload; \

File src/wheezy/web/__init__.py

 
-""" ``web`` package.
 """
+"""
+
+__version__ = '0.1'
 
 # flake8: noqa