Fix templates in setup.py
authorOleg Broytman <phd@phdru.name>
Sat, 15 Apr 2017 18:50:04 +0000 (21:50 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 15 Apr 2017 18:50:04 +0000 (21:50 +0300)
project_template/setup.py

index 3861b57..a90dc05 100755 (executable)
@@ -10,14 +10,14 @@ except ImportError:
     from distutils.core import setup
     is_setuptools = False
 
-versionpath = join(abspath(dirname(__file__)), '{{project}}', '__version__.py')
+versionpath = join(abspath(dirname(__file__)), '{project}', '__version__.py')
 load_source('{project}_version', versionpath)
 # Ignore: E402 module level import not at top of file
 from {project}_version import __version__  # noqa
 
-setup(name='{{project}}',
+setup(name='{project}',
       version=__version__,
-      description='Broytman {{project}}',
+      description='Broytman {project}',
       long_description=open('README.txt', 'rtU').read(),
       author='Oleg Broytman',
       author_email='phd@phdru.name',
@@ -37,8 +37,8 @@ setup(name='{{project}}',
           'Programming Language :: Python :: 2.7',
           'Programming Language :: Python :: 2 :: Only',
       ],
-      packages=['{{project}}'],
-      package_data={'{{project}}': []},
+      packages=['{project}'],
+      package_data={'{project}': []},
       scripts=[],
       requires=[],
       )