/
setup.py
30 lines (26 loc) · 941 Bytes
/
setup.py
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
# from distutils.core import setup
from setuptools import setup
# To use a consistent encoding across file types
# https://stackoverflow.com/questions/33891373/difference-between-io-open-vs-open-in-python
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='mypolr',
packages=['mypolr'],
url='https://github.com/fauskanger/mypolr',
license='MIT',
author='Thomas Fauskanger',
author_email='',
keywords='polr project shorturl api',
description='Simple Python package for using the Polr Project REST API',
long_description=long_description,
requires=['requests'],
python_requires='>=3.3',
# Get version from git: https://pypi.python.org/pypi/setuptools_scm
# version='0.1.0',
use_scm_version=True,
setup_requires=['setuptools_scm'],
)