forked from axsapronov/python-feedly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (33 loc) · 899 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
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env python
import codecs
import os
from setuptools import find_packages
import sys
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload -r pypi')
sys.exit()
PACKAGE_VERSION = '0.0.4'
PACKAGE_DOWNLOAD_URL = (
)
def read_file(filename):
"""
Read a utf8 encoded text file and return its contents.
"""
with codecs.open(filename, 'r', 'utf8') as f:
return f.read()
setup(
name='python-feedly',
version=PACKAGE_VERSION,
license=read_file('LICENSE.txt'),
packages=find_packages(),
long_description=read_file('README.rst'),
author='Alexander Sapronov',
author_email='sapronov.alexander92@gmail.com',
description='Client for Feedly.com',
url='https://github.com/WarmongeR1/python-feedly',
include_package_data=True,
install_requires=[
'requests',
],
)