-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- ReadTheDocs updated - status badges on main page (README) are reorganized - tidelift funding configured - package published on PyPI
- Loading branch information
1 parent
b598be5
commit 91b7d97
Showing
7 changed files
with
110 additions
and
18 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
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,4 +1,16 @@ | ||
Installation | ||
============ | ||
This chapter will be updates after the package is published on PyPI. | ||
At the moment, the only option to get the code is to download it from https://github.com/mdabrowski1990/uds. | ||
|
||
.. role:: shell(code) | ||
:language: shell | ||
|
||
To install the package, run the following command in your command line interface: | ||
|
||
:shell:`pip install py-uds` | ||
|
||
If you have already installed the package, you can update it using the following command: | ||
|
||
:shell:`pip install -U py-uds` | ||
|
||
UDS package is distributed via `PyPI <https://pypi.org/>`_. | ||
You can visit distribution page of UDS package using the following hyperlink: https://pypi.org/project/py-uds/. |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" |
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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
[metadata] | ||
name = py-uds | ||
url = https://github.com/mdabrowski1990/uds | ||
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 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
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.6 | ||
|
||
|
||
[options] | ||
zip_safe = False | ||
include_package_data = True | ||
|
||
|
||
[options.package_data] | ||
* = *.md, *.rst, *.txt | ||
docs = source/*.rst, source/pages/*.rst, source/*.png, source/*.drawio |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import setuptools | ||
import re | ||
|
||
install_requires = [ | ||
"aenum" | ||
] | ||
|
||
with open("uds/__init__.py", "r", encoding="utf-8") as init_file: | ||
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', init_file.read(), re.MULTILINE).group(1) | ||
init_file.seek(0) | ||
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) | ||
|
||
packages = setuptools.find_packages(exclude=["tests", "tests.*", "docs"]) | ||
|
||
setuptools.setup(version=version, | ||
author=author, | ||
author_email=email, | ||
packages=packages, | ||
install_requires=install_requires) |
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