-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (42 loc) · 1.4 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
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
from setuptools import setup
with open('queueio/__init__.py', 'r') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version')
with open('README.rst', 'r') as f:
readme = f.read()
packages = [
'queueio'
]
requires = []
setup(
name = 'queueio',
author = 'Nick Anderegg',
author_email = 'nick@anderegg.io',
version = version,
license = 'GPLv3',
description = 'Queue-like file buffering',
long_description = readme,
url = 'https://github.com/NickAnderegg/queueio',
packages = packages,
package_data = {'': ['LICENSE']},
package_dir = {'queueio': 'queueio'},
include_package_data = True,
install_requires = requires,
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython'
]
)