]> git.phdru.name Git - cookiecutter.git/commitdiff
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 3861b57206b6486d3912962bcf560f6a7d2cd778..a90dc05c5d825118b8fafc505a3b6a3a473b452a 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=[],
       )