Skip to content

Commit

Permalink
fix(git): Package git url source updated #95 (#96)
Browse files Browse the repository at this point in the history
The url was generated from project_slug, this is now git_project_name

closes #95
  • Loading branch information
imAsparky committed Sep 16, 2021
1 parent c386143 commit 1aa3010
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions {{cookiecutter.project_slug}}/setup.py
Expand Up @@ -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 }}',
Expand All @@ -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 %}
Expand All @@ -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,
)

0 comments on commit 1aa3010

Please sign in to comment.