forked from anchore/anchore-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (52 loc) · 1.41 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
60
#!/usr/bin/python
from setuptools import setup, find_packages
import os, shutil, errno
from anchorecli import version
version = version.version
with open('requirements.txt') as f:
requirements = f.read().splitlines()
package_name = "anchorecli"
description = 'Anchore Service CLI'
long_description = open('README.rst').read()
url = 'http://www.anchore.com'
#package_data = {}
package_data = {
package_name: [
'cli/*',
'clients/*',
'conf/*'
]
}
#data_files = [('conf', ['conf/config.yaml.example'])]
data_files = []
#data_files = [('datafiles', ['datafiles/lynis-data.tar'])]
#data_files = [
# ('twisted', ['anchore_service/twisted/*'])
#]
#packages=find_packages(exclude=('run*', 'log*', 'conf*', 'dead*', 'scripts/*')),
#scripts = ['scripts/anchore-service.sh', 'scripts/anchore-service']
scripts = []
setup(
name='anchorecli',
author='Anchore Inc.',
author_email='[email protected]',
license='Apache License 2.0',
description=description,
long_description=long_description,
url=url,
packages=find_packages(),
version=version,
data_files=data_files,
include_package_data=True,
package_data=package_data,
entry_points='''
[console_scripts]
anchore-cli=anchorecli.cli:main_entry
''',
install_requires=requirements,
scripts=scripts
)
# entry_points='''
# [console_scripts]
# anchore=anchore.cli:main_entry
# ''',