-
Notifications
You must be signed in to change notification settings - Fork 36
/
setup.py
41 lines (33 loc) · 1.03 KB
/
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
41
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import re
from setuptools import setup, find_packages
with open('pyqs/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('CHANGELOG.rst') as changelog_file:
changelog = changelog_file.read()
setup(
name='pyqs',
version=version,
description='A simple task-queue for SQS.',
long_description=readme + '\n\n' + changelog,
author='Steve Pulec',
author_email='[email protected]',
url='https://github.com/spulec/pyqs',
entry_points={
'console_scripts': [
'pyqs = pyqs.main:main',
],
},
install_requires=[
'boto3>=1.7.0'
],
packages=[n for n in find_packages() if not n.startswith('tests')],
include_package_data=True,
)