-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
42 lines (31 loc) · 954 Bytes
/
setup.py
File metadata and controls
42 lines (31 loc) · 954 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
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env python
import os
from distutils.util import convert_path
from setuptools import setup, find_packages
location = os.path.abspath(os.path.dirname(__file__))
with open('README.md') as readme:
description = readme.read()
metadata = dict()
with open(convert_path('src/srvresolver/version.py')) as metadata_file:
exec(metadata_file.read(), metadata)
setup(
name='srvresolver',
version=metadata['__version__'],
description='SRV record resolver for python',
long_description_content_type='text/markdown',
long_description=description,
url='https://github.com/exante/python-srvresolver',
author='EXANTE',
author_email='',
license='MIT',
keywords='dns srv resolve',
packages=find_packages('src'),
package_dir={'': 'src'},
zip_safe=False,
install_requires=[
'dnspython'
],
extras_require={
'postgresql resolver': ['psycopg2-binary>=2.7,<2.8']
}
)