-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01572c5
commit 5f14f87
Showing
10 changed files
with
36 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,8 +7,6 @@ | |
Currently has 95% unit test coverage | ||
AP_FLAKE8_CLEAN | ||
Amilcar do Carmo Lucas, IAV GmbH | ||
''' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
from setuptools import setup | ||
from setuptools import find_packages | ||
#!/usr/bin/env python3 | ||
|
||
''' | ||
This script downloads the licenses of the direct and indirect dependencies of the project | ||
This file is part of Ardupilot methodic configurator. https://github.com/ArduPilot/MethodicConfigurator | ||
(C) 2024 Amilcar do Carmo Lucas, IAV GmbH | ||
SPDX-License-Identifier: GPL-3 | ||
''' | ||
|
||
import os | ||
|
||
from setuptools import setup | ||
from setuptools import find_packages | ||
|
||
from MethodicConfigurator.version import VERSION | ||
|
||
|
||
|
@@ -35,20 +47,20 @@ def package_files(directory): | |
# Add any other development requirements here | ||
] | ||
|
||
prj_url = "https://github.com/ArduPilot/MethodicConfigurator" | ||
PRJ_URL = "https://github.com/ArduPilot/MethodicConfigurator" | ||
|
||
# Read the long description from the README file | ||
with open('README.md', 'r', encoding='utf-8') as f: | ||
long_description = f.read() | ||
# Use Absolute links so that the pyPI page renders correctly | ||
long_description = long_description.replace("(USERMANUAL.md", f"({prj_url}/blob/master/USERMANUAL.md") | ||
long_description = long_description.replace("(CONTRIBUTING.md", f"({prj_url}/blob/master/CONTRIBUTING.md") | ||
long_description = long_description.replace("(ARCHITECTURE.md", f"({prj_url}/blob/master/ARCHITECTURE.md") | ||
long_description = long_description.replace("(CODE_OF_CONDUCT.md", f"({prj_url}/blob/master/CODE_OF_CONDUCT.md") | ||
long_description = long_description.replace("(LICENSE.md", f"({prj_url}/blob/master/LICENSE.md") | ||
long_description = long_description.replace("(credits/CREDITS.md", f"({prj_url}/blob/master/credits/CREDITS.md") | ||
long_description = long_description.replace("(USERMANUAL.md", f"({PRJ_URL}/blob/master/USERMANUAL.md") | ||
long_description = long_description.replace("(CONTRIBUTING.md", f"({PRJ_URL}/blob/master/CONTRIBUTING.md") | ||
long_description = long_description.replace("(ARCHITECTURE.md", f"({PRJ_URL}/blob/master/ARCHITECTURE.md") | ||
long_description = long_description.replace("(CODE_OF_CONDUCT.md", f"({PRJ_URL}/blob/master/CODE_OF_CONDUCT.md") | ||
long_description = long_description.replace("(LICENSE.md", f"({PRJ_URL}/blob/master/LICENSE.md") | ||
long_description = long_description.replace("(credits/CREDITS.md", f"({PRJ_URL}/blob/master/credits/CREDITS.md") | ||
long_description = long_description.replace("images/App_screenshot1.png", | ||
f"{prj_url}/raw/master/images/App_screenshot1.png") | ||
f"{PRJ_URL}/raw/master/images/App_screenshot1.png") | ||
|
||
setup( | ||
name='MethodicConfigurator', | ||
|
@@ -57,7 +69,7 @@ def package_files(directory): | |
description='A clear configuration sequence for ArduPilot vehicles', | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
url=prj_url, | ||
url=PRJ_URL, | ||
author='Amilcar do Carmo Lucas', | ||
author_email='[email protected]', | ||
packages=find_packages(), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ | |
SPDX-License-Identifier: GPL-3 | ||
''' | ||
|
||
# pylint: skip-file | ||
|
||
import unittest | ||
import argparse | ||
import os | ||
|