This repository has been archived by the owner on Mar 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
59 lines (53 loc) · 1.91 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
51
52
53
54
55
56
57
58
59
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
print sys.argv
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
with open("README.rst") as readme_file:
long_description = readme_file.read()
setup(name="keepass_http",
version="0.4.4",
description="Python Keepass HTTPD for ChromeIPass and PassIFox",
long_description=long_description,
author="Benjamin Hedrich",
author_email="[email protected]",
url="https://github.com/bh/python-keepass-httpd/",
package_dir={"": "src"},
packages=find_packages("src/"),
include_package_data=True,
install_requires=("colorlog==2.2.0",
"daemonize==2.3",
"docopt==0.6.1",
"enum34==1.0",
"flask==0.10.1",
"keepass==1.2",
"libkeepass==0.1.2",
"lxml==3.2.1"),
extras_require = {
'GUI': ("PySide==1.2.2",)
},
entry_points={
'console_scripts': [
'python-keepass-httpd = keepass_http.scripts.python_keepass_httpd:main'
],
'keepass_http_backends': [
'application/x-keepass-database-v1 = keepass_http.backends.python_keepass_backend:Backend',
'application/x-keepass-database-v2 = keepass_http.backends.libkeepass_backend:Backend'
],
},
tests_require=("pytest==2.5.2",
"pytest-cov==1.6",
"coveralls==0.4.2",
"mock==1.0.1"),
cmdclass = {'test': PyTest},
zip_safe=False
)