-setup(name='{{project}}',
- version=__version__,
- description='Broytman {{project}}',
- long_description=open('README.txt', 'rtU').read(),
+versionpath = join(abspath(dirname(__file__)), '{project}', '__version__.py')
+{project}_version = load_source('{project}_version', versionpath)
+
+setup(name='{project}',
+ version={project}_version.__version__,
+ description='Broytman {project}',
+ long_description=open('README.rst', 'rU').read(),