-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
5 changed files
with
41 additions
and
69 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -33,4 +33,4 @@ | |
OUTPUT = 0 | ||
|
||
name = "pyHydrabus" | ||
__version__ = "0.2.10" | ||
__version__ = "0.2.11" |
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,35 @@ | ||
[project] | ||
name = "pyHydrabus" | ||
dynamic = ["version"] | ||
dependencies = [ | ||
"pyserial", | ||
] | ||
authors = [ | ||
{name = "Baldanos"}, | ||
] | ||
maintainers = [ | ||
{name = "Baldanos"} | ||
] | ||
description = "Hydrabus BBIO python bindings" | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
keywords = [ "Hydrabus" ] | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://www.hydrabus.com" | ||
Documentation = "https://pyhydrabus.readthedocs.io" | ||
Repository = "https://github.com/hydrabus/pyHydrabus" | ||
|
||
|
||
[build-system] | ||
build-backend = "setuptools.build_meta" | ||
requires = [ | ||
"setuptools", | ||
"pyserial", | ||
] | ||
|
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,3 @@ | ||
[metadata] | ||
version = attr: pyHydrabus.__version__ | ||
|
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,4 @@ | ||
# Copyright 2019 Nicolas OBERLI | ||
# Copyright 2024 Nicolas OBERLI | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -11,42 +11,7 @@ | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
from sphinx.setup_command import BuildDoc | ||
cmdclass = {'build_sphinx': BuildDoc} | ||
|
||
|
||
import setuptools | ||
|
||
import pyHydrabus | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
name = 'pyHydrabus' | ||
version = str(pyHydrabus.__version__) | ||
release = str(version) | ||
|
||
setuptools.setup( | ||
name=name, | ||
version=pyHydrabus.__version__, | ||
author="Baldanos", | ||
author_email="[email protected]", | ||
description="Hydrabus BBIO python bindings", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/hydrabus/pyhydrabus", | ||
packages=setuptools.find_packages(), | ||
install_requires=['pyserial'], | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
], | ||
cmdclass=cmdclass, | ||
command_options={ | ||
'build_sphinx': { | ||
'project': ('setup.py', name), | ||
'version': ('setup.py', version), | ||
'release': ('setup.py', release), | ||
'source_dir': ('setup.py', 'docs/source')}}, | ||
) | ||
setuptools.setup() |