forked from Blue-Yonder-OSS/storefact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (43 loc) · 1.46 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
# -*- encoding: utf-8 -*-
import io
import re
import os
from os.path import dirname
from os.path import join
import inspect
from setuptools import setup
def read(*names, **kwargs):
return io.open(
join(dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8")
).read()
instreq = [l.rstrip() for l in read('requirements.txt').splitlines()
if not l.startswith('#')]
setup(
name="storefact",
use_scm_version=dict(write_to='storefact/_version.py'),
description="A factory for simplekv-Store-based storage classes. Takes configuration values and returns a simplekv-Store",
author="Felix Marczinowski",
author_email="[email protected]",
url="https://github.com/blue-yonder/storefact",
packages=['storefact'],
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: Unix",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Utilities",
],
install_requires=instreq,
extras_require={
's3': ['boto'],
'azure': ['azure-storage-blob'],
},
setup_requires=['setuptools_scm']
)