-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
28 lines (25 loc) · 883 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
#! /usr/bin/env python
from setuptools import setup
import re
from os import path
version = ''
with open('cliff/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()
setup(name='mediacloud-cliff',
version=version,
description='Media Cloud CLIFF API Client Library',
long_description=long_description,
long_description_content_type='text/markdown',
author='Rahul Bhargava',
author_email='[email protected]',
url='http://cliff.mediacloud.org',
packages={'cliff'},
package_data={'': ['LICENSE']},
include_package_data=True,
install_requires=['requests'],
license='MIT',
zip_safe=False
)