Commit f07ae781 authored by Adrian DC's avatar Adrian DC
Browse files

chore(setup): refactor with more project configurations

Signed-off-by: default avatarAdrian DC <radian.dc@gmail.com>
parent 7ee6dc29
Loading
Loading
Loading
Loading
+9 −7
Changes for setup.py: 9 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -21,29 +21,31 @@ PROJECT_AUTHOR = 'Adrian DC'
PROJECT_DESCRIPTION = 'Generate GitLab project issues and milestones statistics automatically'
PROJECT_EMAIL = 'radian.dc@gmail.com'
PROJECT_KEYWORDS = 'gitlab projects issues milestones'
PROJECT_LICENSE = 'Apache License 2.0'
PROJECT_NAME = 'gitlab-projects-issues'
PROJECT_NAMESPACE = 'RadianDevCore/tools'
PROJECT_PACKAGE = 'gitlab_projects_issues'
PROJECT_SCRIPTS = [
    'gitlab-projects-issues = gitlab_projects_issues.cli.main:main',
]
PROJECT_URL = f'https://gitlab.com/{PROJECT_NAMESPACE}/{PROJECT_NAME}'

# Setup configurations, pylint: disable=line-too-long
# Setup configurations
setup(
    name=PROJECT_NAME,
    use_scm_version=True,
    author=PROJECT_AUTHOR,
    author_email=PROJECT_EMAIL,
    license='Apache License 2.0',
    license=PROJECT_LICENSE,
    description=PROJECT_DESCRIPTION,
    long_description=long_description,
    long_description_content_type='text/markdown',
    url=f'https://gitlab.com/{PROJECT_NAMESPACE}/{PROJECT_NAME}',
    url=PROJECT_URL,
    project_urls={
        'Bug Reports': f'https://gitlab.com/{PROJECT_NAMESPACE}/{PROJECT_NAME}/-/issues',
        'Changelog': f'https://gitlab.com/{PROJECT_NAMESPACE}/{PROJECT_NAME}/blob/main/CHANGELOG.md',
        'Documentation': f'https://gitlab.com/{PROJECT_NAMESPACE}/{PROJECT_NAME}#{PROJECT_NAME}',
        'Source': f'https://gitlab.com/{PROJECT_NAMESPACE}/{PROJECT_NAME}',
        'Bug Reports': f'{PROJECT_URL}/-/issues',
        'Changelog': f'{PROJECT_URL}/blob/main/CHANGELOG.md',
        'Documentation': f'{PROJECT_URL}#{PROJECT_NAME}',
        'Source': f'{PROJECT_URL}',
        'Statistics': f'https://pypistats.org/packages/{PROJECT_NAME}'
    },
    packages=[