-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
58 lines (43 loc) · 1.17 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
from codecs import open
from setuptools import setup, find_packages
from os import path
import pip.download
from pip.req import parse_requirements
here = path.abspath(path.dirname(__file__))
install_reqs = parse_requirements(path.join(here, 'requirements.txt'), session=pip.download.PipSession())
reqs = [str(ir.req) for ir in install_reqs]
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='auth-tool',
version='1.0.0',
description='AuthTool',
long_description=long_description,
url='https://github.com/luciddg/auth-tool',
author='Lucid Operations',
author_email='ops@luciddg.com',
license='MIT',
packages=find_packages(exclude=['tests']),
include_package_data=True,
package_data={
'auth-tool': [
'public/*',
'template/*',
],
},
data_files=[
('config', ['conf/app.cfg', 'conf/server.cfg']),
],
install_requires=reqs,
setup_requires=[
'nose>=1.0'
],
extras_require={
'test': [
'nose',
'coverage',
'mock',
'mockldap',
],
},
)