From afc149781d6d951da879dcee26d2805a18c3a144 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 15 Apr 2017 21:50:04 +0300 Subject: [PATCH] Fix templates in setup.py --- project_template/setup.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/project_template/setup.py b/project_template/setup.py index 3861b57..a90dc05 100755 --- a/project_template/setup.py +++ b/project_template/setup.py @@ -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=[], ) -- 2.39.5