-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (28 loc) · 891 Bytes
/
setup.py
File metadata and controls
31 lines (28 loc) · 891 Bytes
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
import re
from setuptools import setup, find_packages
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("src/fusion_index/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name='fusion-index',
version=version,
description='Lookup/search index service for Fusion',
url='https://bitbucket.org/fusionapp/fusion-index',
install_requires=[
'Twisted[tls] >= 15.0.0',
'txspinneret >= 0.1.2',
'Axiom >= 0.7.4',
'eliot >= 0.8.0',
'testtools',
'characteristic',
'hypothesis>=3.0.0,<4.0.0',
'eliot',
'fusion_util',
'toolz',
'py2casefold',
'prometheus_client',
],
license='MIT',
packages=find_packages(where='src') + ['twisted.plugins'],
package_dir={'': 'src'},
include_package_data=True)