-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
48 lines (43 loc) · 1.44 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from os import path
from pkgutil import get_importer
# Calculate the base directory of the project to get relatives from.
BASE_DIR = path.abspath(path.dirname(__file__))
# Navigate, import, and retrieve the metadata of the project.
_imp = get_importer(path.join(BASE_DIR, 'src', 'vial'))
meta = _imp.find_module('meta').load_module('meta')
setup(
name='vial',
version=meta.version,
description=meta.description,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.3'
],
author='Concordus Applications',
author_email='[email protected]',
url='http://github.com/concordusapps/python-vial',
package_dir={'vial': 'src/vial'},
packages=find_packages(path.join(BASE_DIR, 'src')),
install_requires=(
# Python client for redis, an in-memory database that persists on disk.
# <https://github.com/andymccurdy/redis-py>
'redis',
),
extras_require={
'test': (
# Test runner.
'pytest',
# Ensure PEP8 conformance.
'pytest-pep8',
# Ensure test coverage.
'pytest-cov',
)
}
)