-
Notifications
You must be signed in to change notification settings - Fork 79
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
6 changed files
with
44 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
"""Init file for bimmer_connected.""" | ||
|
||
import pkg_resources # part of setuptools | ||
|
||
__version__ = pkg_resources.get_distribution("bimmer_connected").version |
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
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 |
---|---|---|
|
@@ -5,3 +5,4 @@ pylint | |
flake8 | ||
sphinx | ||
sphinx-autobuild | ||
pbr |
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,34 @@ | ||
[metadata] | ||
name = bimmer_connected | ||
author = gerard33 | ||
author-email = bietenbak@yahoo.com | ||
summary = Library to read data from the BMW Connected Drive portal | ||
description-file = README.rst | ||
description-content-type = text/x-rst; charset=UTF-8 | ||
python_requires = >= 3.5 | ||
home-page = https://github.com/bimmerconnected/bimmer_connected | ||
project_urls = | ||
Bug Tracker = https://github.com/bimmerconnected/bimmer_connected/issues | ||
Documentation = https://bimmer-connected.readthedocs.io/en/latest/ | ||
Source Code = https://github.com/bimmerconnected/bimmer_connected | ||
license = Apache-2 | ||
classifier = | ||
Development Status :: 4 - Beta | ||
Environment :: Console | ||
Intended Audience :: Developers | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
keywords = | ||
BMW | ||
Connected Drive | ||
home automation | ||
|
||
[files] | ||
packages = | ||
bimmer_connected | ||
|
||
[entry_points] | ||
console_scripts = | ||
bimmerconnected = bimmer_connected.cli:main |
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,43 +1,7 @@ | ||
"""Python package description.""" | ||
from setuptools import setup, find_packages | ||
|
||
from bimmer_connected.version import __version__ as version | ||
|
||
def readme(): | ||
"""Load the readme file.""" | ||
with open('README.rst') as readme_file: | ||
return readme_file.read() | ||
from setuptools import setup | ||
|
||
setup( | ||
name="bimmer_connected", | ||
version=version, | ||
author="gerard33", | ||
author_email="bietenbak@yahoo.com", | ||
description="Library to read data from the BMW Connected Drive portal", | ||
long_description=readme(), | ||
long_description_content_type="text/x-rst", | ||
url="https://github.com/bimmerconnected/bimmer_connected", | ||
packages=['bimmer_connected'], | ||
install_requires=[ | ||
'requests', 'typing>=3,<4;python_version<"3.5"' | ||
], | ||
keywords='BMW Connected Drive home automation', | ||
zip_safe=False, | ||
extras_require={ | ||
'testing': ['pytest'] | ||
}, | ||
entry_points={ | ||
'console_scripts': [ | ||
'bimmerconnected=bimmer_connected.cli:main' | ||
], | ||
}, | ||
license='Apache 2.0', | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
], | ||
setup_requires=['pbr'], | ||
pbr=True, | ||
) |