Skip to content

Commit

Permalink
Add Merit as sponsor. Update PyPI information. (#119)
Browse files Browse the repository at this point in the history
- Add Merit Automotive as a package sponsor.
- Update __init__.py file to contain information such as maintainer, credits, license type, etc.
- Review setup.py and setup.cfg files to provide as many information for PyPI as possible and optimized how they are acquired.
  • Loading branch information
mdabrowski1990 authored Oct 2, 2021
1 parent e6470a9 commit 6fd4a99
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 14 deletions.
Binary file added docs/source/images/MeritAutomotive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/source/pages/contribution.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,15 @@ Please `contact us <https://uds.readthedocs.io/en/latest/index.html#contact>`_ f
Reporting issues
----------------
To report issues, please use our `issues tracking system <https://github.com/mdabrowski1990/uds/issues>`_.


Our Sponsors
------------

Full list of our sponsors:

* `Merit Automotive <https://merit-automotive.com/>`_ |Merit Logo| - sponsoring since September 2021


.. |Merit Logo| image:: ../images/MeritAutomotive.png
:height: 50
17 changes: 6 additions & 11 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
[metadata]
name = py-uds
url = https://github.com/mdabrowski1990/uds
download_url = https://github.com/mdabrowski1990/uds/archive/refs/heads/main.zip
project_urls =
Wiki = https://github.com/mdabrowski1990/uds/wiki
Security policy = https://github.com/mdabrowski1990/uds/security/policy
Issues Tracking System = https://github.com/mdabrowski1990/uds/issues
User Documentation = https://uds.readthedocs.io/en/latest/
description = UDS (Unified Diagnostic Services) protocol handler. It supports CAN, Ethernet, LIN, FlexRay, K-Line with possible extension for any other bus.
long_description = file: README.rst
long_description_content_type = text/x-rst
license = MIT
license_file = LICENSE
classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
Expand All @@ -24,16 +20,14 @@ classifiers =
Natural Language :: English
Development Status :: 4 - Beta
Intended Audience :: Developers
Topic :: Scientific/Engineering
Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator
Topic :: Software Development :: Embedded Systems
Topic :: System :: Logging
Topic :: System :: Monitoring
Topic :: System :: Networking
Topic :: Utilities
package_dir =
=uds
python_requires = >=3.7
license_file = LICENSE
description = UDS (Unified Diagnostic Services) protocol handler. It supports CAN, Ethernet, LIN, FlexRay, K-Line with possible extension for any other bus.
long_description = file: README.rst
long_description_content_type = text/x-rst
keywords =
automotive
vehicle-diagnostic
Expand All @@ -48,6 +42,7 @@ keywords =
[options]
zip_safe = False
include_package_data = True
python_requires = >=3.7


[options.package_data]
Expand Down
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,18 @@
author = re.search(r'^__author__\s*=\s*[\'"]([^\'"]*)[\'"]', init_file.read(), re.MULTILINE).group(1)
init_file.seek(0)
email = re.search(r'^__email__\s*=\s*[\'"]([^\'"]*)[\'"]', init_file.read(), re.MULTILINE).group(1)
init_file.seek(0)
maintainer = re.search(r'^__maintainer__\s*=\s*[\'"]([^\'"]*)[\'"]', init_file.read(), re.MULTILINE).group(1)
init_file.seek(0)
license_type = re.search(r'^__license__\s*=\s*[\'"]([^\'"]*)[\'"]', init_file.read(), re.MULTILINE).group(1)

packages = setuptools.find_packages(exclude=["tests", "tests.*", "docs"])
packages = setuptools.find_packages(exclude=["tests", "tests.*", "docs", "docs.*"])

setuptools.setup(version=version,
author=author,
author_email=email,
maintainer=maintainer,
maintainer_email=email,
packages=packages,
license=license_type,
install_requires=install_requires)
9 changes: 7 additions & 2 deletions uds/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
- `K-Line <https://en.wikipedia.org/wiki/K-Line>`_
"""

__all__ = ["messages"]
__version__ = "0.1.0"
__all__ = ["messages", "segmentation", "transport_interface"]

__version__ = "0.1.1"
__author__ = "Maciej Dąbrowski"
__maintainer__ = "Maciej Dąbrowski"
__credits__ = ["Maciej Dąbrowski (https://www.linkedin.com/in/maciej-dabrowski-test-engineer/)",
"Merit Automotive (https://merit-automotive.com/)"]
__email__ = "uds-package-development@googlegroups.com"
__license__ = "MIT"

0 comments on commit 6fd4a99

Please sign in to comment.