This repository was archived by the owner on Jun 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (44 loc) · 1.73 KB
/
setup.py
File metadata and controls
48 lines (44 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from setuptools import setup, find_packages
from codecs import open
import os.path
import sys
script_dir = os.path.abspath(os.path.dirname(__file__))
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
# argparse is only a builtin in 2.7
# I don't plan to support 2.6, but just in case I do in the future
install_requires = ['requests']
if sys.hexversion < 0x02070000:
install_requires.append('argparse')
setup(
name='wunderpy2',
version='0.1.6',
description='A Python library for the Wunderlist 2 REST API',
# Idea credit of https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
long_description=(read('README.rst') + '\n\n' +
read('HISTORY.rst') + '\n\n' +
read('AUTHORS.rst')),
url='https://github.com/mieubrisse/wunderpy2',
author='mieubrisse',
author_email='mieubrisse@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
keywords='wunderpy wunderpy2 wunderlist api cli',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=install_requires,
)