update setup.py in preparation for PyPi release
This commit is contained in:
parent
bcb02afbb3
commit
d3f8819dc7
82
setup.py
82
setup.py
@ -1,27 +1,73 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
"""Setup information for the Garmin Connect activity exporter."""
|
"""Setup information for the Garmin Connect activity exporter."""
|
||||||
|
|
||||||
from setuptools import find_packages
|
from setuptools import setup, find_packages
|
||||||
from distutils.core import setup
|
from os import path
|
||||||
|
# needed for Python 2.7 (ensures open() defaults to text mode with universal
|
||||||
|
# newlines, and accepts an argument to specify the text encoding.
|
||||||
|
from io import open
|
||||||
|
|
||||||
|
here = path.abspath(path.dirname(__file__))
|
||||||
|
|
||||||
|
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
||||||
|
long_description = f.read()
|
||||||
|
|
||||||
|
requires = [
|
||||||
|
'requests~=2.21',
|
||||||
|
'python-dateutil~=2.4',
|
||||||
|
'future~=0.16',
|
||||||
|
]
|
||||||
|
|
||||||
|
test_requires = [
|
||||||
|
'nose~=1.3',
|
||||||
|
'coverage~=4.2',
|
||||||
|
'mock~=2.0',
|
||||||
|
]
|
||||||
|
|
||||||
|
setup(name='garminexport',
|
||||||
|
version='0.1.0',
|
||||||
|
description=('Garmin Connect activity exporter and backup tool'),
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type='text/markdown',
|
||||||
|
author='Peter Gardfjäll',
|
||||||
|
author_email='peter.gardfjall.work@gmail.com',
|
||||||
|
|
||||||
setup(name="Garmin Connect activity exporter",
|
|
||||||
version="1.0.0",
|
|
||||||
description=("A program that downloads all activities for a given Garmin Connect account "
|
|
||||||
"and stores them locally on the user's computer."),
|
|
||||||
long_description=open('README.md').read(),
|
|
||||||
author="Peter Gardfjäll",
|
|
||||||
author_email="peter.gardfjall.work@gmail.com",
|
|
||||||
install_requires=open('requirements.txt').read(),
|
|
||||||
license=open('LICENSE').read(),
|
|
||||||
url="https://github.com/petergardfjall/garminexport",
|
|
||||||
packages=["garminexport"],
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 4 - Beta',
|
'Development Status :: 4 - Beta',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
'Intended Audience :: End Users/Desktop'
|
'Intended Audience :: End Users/Desktop',
|
||||||
|
'Intended Audience :: Developers',
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
'License :: OSI Approved :: Apache Software License',
|
'License :: OSI Approved :: Apache Software License',
|
||||||
|
'Programming Language :: Python :: 2',
|
||||||
'Programming Language :: Python :: 2.7',
|
'Programming Language :: Python :: 2.7',
|
||||||
'Programming Language :: Python :: 3.5+',
|
'Programming Language :: Python :: 3',
|
||||||
])
|
'Programming Language :: Python :: 3.5',
|
||||||
|
'Programming Language :: Python :: 3.6',
|
||||||
|
'Programming Language :: Python :: 3.7',
|
||||||
|
'Programming Language :: Python :: 3.8',
|
||||||
|
],
|
||||||
|
keywords='garmin export backup',
|
||||||
|
url='https://github.com/petergardfjall/garminexport',
|
||||||
|
license='Apache License 2.0',
|
||||||
|
|
||||||
|
project_urls={
|
||||||
|
'Source': 'https://github.com/petergardfjall/garminexport.git',
|
||||||
|
'Tracker': 'https://github.com/petergardfjall/garminexport/issues',
|
||||||
|
},
|
||||||
|
|
||||||
|
packages=[
|
||||||
|
'garminexport',
|
||||||
|
'garminexport.cli',
|
||||||
|
],
|
||||||
|
|
||||||
|
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4',
|
||||||
|
install_requires=requires,
|
||||||
|
test_requires=test_requires,
|
||||||
|
entry_points={
|
||||||
|
'console_scripts': [
|
||||||
|
'garmin-backup = garminexport.cli.backup:main',
|
||||||
|
'garmin-get-activity = garminexport.cli.get_activity:main',
|
||||||
|
'garmin-upload-activity = garminexport.cli.upload_activity:main',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user