diff --git a/{{cookiecutter.project_slug}}/setup.py b/{{cookiecutter.project_slug}}/setup.py index f220627..a07fc24 100644 --- a/{{cookiecutter.project_slug}}/setup.py +++ b/{{cookiecutter.project_slug}}/setup.py @@ -22,6 +22,8 @@ 'GNU General Public License v3': 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)' } %} +__version__ = '{{ cookiecutter.version }}' + setup( author="{{ cookiecutter.full_name.replace('\"', '\\\"') }}", author_email='{{ cookiecutter.email }}', @@ -37,6 +39,7 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', ], description="{{ cookiecutter.project_short_description }}", {%- if 'no' not in cookiecutter.command_line_interface|lower %} @@ -57,7 +60,7 @@ packages=find_packages(include=['{{ cookiecutter.project_slug }}', '{{ cookiecutter.project_slug }}.*']), test_suite='tests', tests_require=test_requirements, - url='https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}', - version='{{ cookiecutter.version }}', + url='https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.git_project_name }}', + version=__version__, zip_safe=False, )