From c9e35b1f62ab437fbe5e4037fabacd2ce22b2430 Mon Sep 17 00:00:00 2001 From: jo Date: Thu, 2 Sep 2021 14:25:50 +0200 Subject: [PATCH] Update setup tools project details --- api/setup.py | 23 +++++++++++------------ python_apps/airtime-celery/setup.py | 12 ++++++++---- python_apps/airtime_analyzer/setup.py | 9 +++++++-- python_apps/api_clients/setup.py | 7 ++++++- python_apps/pypo/setup.py | 12 ++++++++---- 5 files changed, 40 insertions(+), 23 deletions(-) diff --git a/api/setup.py b/api/setup.py index fd016b7cd..724901cbe 100644 --- a/api/setup.py +++ b/api/setup.py @@ -1,20 +1,24 @@ import os -import shutil from setuptools import find_packages, setup -script_path = os.path.dirname(os.path.realpath(__file__)) -print(script_path) -os.chdir(script_path) +# Change directory since setuptools uses relative paths +os.chdir(os.path.dirname(os.path.realpath(__file__))) setup( name="libretime-api", version="2.0.0a1", + description="LibreTime API", + author="LibreTime Contributors", + url="https://github.com/libretime/libretime", + project_urls={ + "Bug Tracker": "https://github.com/libretime/libretime/issues", + "Documentation": "https://libretime.org", + "Source Code": "https://github.com/libretime/libretime", + }, + license="AGPLv3", packages=find_packages(), include_package_data=True, - description="LibreTime API backend server", - url="https://github.com/LibreTime/libretime", - author="LibreTime Contributors", scripts=["bin/libretime-api"], install_requires=[ "coreapi", @@ -25,9 +29,4 @@ setup( "model_bakery", "psycopg2", ], - project_urls={ - "Bug Tracker": "https://github.com/LibreTime/libretime/issues", - "Documentation": "https://libretime.org", - "Source Code": "https://github.com/LibreTime/libretime", - }, ) diff --git a/python_apps/airtime-celery/setup.py b/python_apps/airtime-celery/setup.py index fc92b0689..ac0e3ced4 100644 --- a/python_apps/airtime-celery/setup.py +++ b/python_apps/airtime-celery/setup.py @@ -8,10 +8,14 @@ os.chdir(os.path.dirname(os.path.realpath(__file__))) setup( name="airtime-celery", version="0.1", - description="Airtime Celery service", - url="http://github.com/sourcefabric/Airtime", - author="Sourcefabric", - author_email="duncan.sommerville@sourcefabric.org", + description="LibreTime Celery", + author="LibreTime Contributors", + url="https://github.com/libretime/libretime", + project_urls={ + "Bug Tracker": "https://github.com/libretime/libretime/issues", + "Documentation": "https://libretime.org", + "Source Code": "https://github.com/libretime/libretime", + }, license="MIT", packages=["airtime-celery"], install_requires=[ diff --git a/python_apps/airtime_analyzer/setup.py b/python_apps/airtime_analyzer/setup.py index 6f9b28acb..01d899f7c 100644 --- a/python_apps/airtime_analyzer/setup.py +++ b/python_apps/airtime_analyzer/setup.py @@ -8,9 +8,14 @@ os.chdir(os.path.dirname(os.path.realpath(__file__))) setup( name="libretime-analyzer", version="0.1", - description="Libretime Analyzer Worker and File Importer", - url="https://libretime.org", + description="Libretime Analyzer", author="LibreTime Contributors", + url="https://github.com/libretime/libretime", + project_urls={ + "Bug Tracker": "https://github.com/libretime/libretime/issues", + "Documentation": "https://libretime.org", + "Source Code": "https://github.com/libretime/libretime", + }, license="AGPLv3", packages=["airtime_analyzer"], entry_points={ diff --git a/python_apps/api_clients/setup.py b/python_apps/api_clients/setup.py index 90bf95f75..af6f5354f 100644 --- a/python_apps/api_clients/setup.py +++ b/python_apps/api_clients/setup.py @@ -9,8 +9,13 @@ setup( name="api_clients", version="2.0.0", description="LibreTime API Client", - url="http://github.com/LibreTime/Libretime", author="LibreTime Contributors", + url="https://github.com/libretime/libretime", + project_urls={ + "Bug Tracker": "https://github.com/libretime/libretime/issues", + "Documentation": "https://libretime.org", + "Source Code": "https://github.com/libretime/libretime", + }, license="AGPLv3", packages=["api_clients"], install_requires=[ diff --git a/python_apps/pypo/setup.py b/python_apps/pypo/setup.py index feca4c872..5bfa1e6d3 100644 --- a/python_apps/pypo/setup.py +++ b/python_apps/pypo/setup.py @@ -5,13 +5,17 @@ from setuptools import setup # Change directory since setuptools uses relative paths os.chdir(os.path.dirname(os.path.realpath(__file__))) - setup( name="airtime-playout", version="1.0", - description="Airtime Playout Engine", - url="http://github.com/sourcefabric/Airtime", - author="sourcefabric", + description="LibreTime Playout", + author="LibreTime Contributors", + url="https://github.com/libretime/libretime", + project_urls={ + "Bug Tracker": "https://github.com/libretime/libretime/issues", + "Documentation": "https://libretime.org", + "Source Code": "https://github.com/libretime/libretime", + }, license="AGPLv3", packages=[ "pypo",