forked from jaroslawhartman/withings-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request jaroslawhartman#87 from stynoo/cloudscraper
garmin.py: re-introduce cloudscraper (+codestyle)
- Loading branch information
Showing
3 changed files
with
146 additions
and
144 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,3 @@ | ||
lxml | ||
requests | ||
cloudscraper |
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 |
---|---|---|
|
@@ -11,36 +11,25 @@ def read(fname): | |
|
||
|
||
setup( | ||
name='withings-sync', | ||
version='3.4.2', | ||
author='Masayuki Hamasaki, Steffen Vogel', | ||
author_email='[email protected]', | ||
description='A tool for synchronisation of Withings (ex. Nokia Health Body) to Garmin Connect and Trainer Road.', | ||
license='MIT', | ||
keywords='garmin withings sync api scale smarthome', | ||
url='http://packages.python.org/an_example_pypi_project', | ||
packages=['withings_sync'], | ||
long_description=read('README.md'), | ||
long_description_content_type='text/markdown', | ||
name="withings-sync", | ||
version="3.5", | ||
author="Masayuki Hamasaki, Steffen Vogel", | ||
author_email="[email protected]", | ||
description="A tool for synchronisation of Withings (ex. Nokia Health Body) to Garmin Connect and Trainer Road.", | ||
license="MIT", | ||
keywords="garmin withings sync api scale smarthome", | ||
url="http://packages.python.org/an_example_pypi_project", | ||
packages=["withings_sync"], | ||
long_description=read("README.md"), | ||
long_description_content_type="text/markdown", | ||
classifiers=[ | ||
'Topic :: Utilities', | ||
'License :: OSI Approved :: MIT License', | ||
], | ||
install_requires=[ | ||
'lxml', | ||
'requests', | ||
# request has a fix dependency on charset-normalizer charset_normalizer~=2.0.0 | ||
# (see https://requests.readthedocs.io/en/latest/user/advanced/#encodings) | ||
# We pin it here to avoid conflicts with httpx | ||
'charset-normalizer~=2.0.0', | ||
'httpx', | ||
'httpx[http2]' | ||
"Topic :: Utilities", | ||
"License :: OSI Approved :: MIT License", | ||
], | ||
install_requires=["lxml", "requests", "cloudscraper"], | ||
entry_points={ | ||
'console_scripts': [ | ||
'withings-sync=withings_sync.sync:main' | ||
], | ||
"console_scripts": ["withings-sync=withings_sync.sync:main"], | ||
}, | ||
zip_safe=False, | ||
include_package_data=True | ||
include_package_data=True, | ||
) |
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