forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
66 lines (59 loc) · 2.12 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
61
62
63
64
65
66
import codecs
import glob
import os
from setuptools import find_packages, setup
# Prevent spurious errors during `python setup.py test`, a la
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html:
try:
import multiprocessing
except ImportError:
pass
def read(fname):
fpath = os.path.join(os.path.dirname(__file__), fname)
with codecs.open(fpath, 'r', 'utf8') as f:
return f.read().strip()
setup(
name='socorro',
version='master',
description=('Socorro is a server to accept and process Breakpad'
' crash reports.'),
long_description=open('README.md').read(),
author='Mozilla',
author_email='[email protected]',
license='MPL',
url='https://github.com/mozilla/socorro',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MPL License',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
keywords=['socorro', 'breakpad', 'crash', 'reporting', 'minidump',
'stacktrace'],
packages=find_packages(),
install_requires=[], # use pip -r requirements.txt instead
entry_points={
'console_scripts': [
'socorro = socorro.app.socorro_app:SocorroWelcomeApp.run'
],
},
test_suite='nose.collector',
zip_safe=False,
data_files=[
('socorro/external/postgresql/raw_sql/procs',
glob.glob('socorro/external/postgresql/raw_sql/procs/*.sql')),
('socorro/external/postgresql/raw_sql/views',
glob.glob('socorro/external/postgresql/raw_sql/views/*.sql')),
('socorro/external/postgresql/raw_sql/types',
glob.glob('socorro/external/postgresql/raw_sql/types/*.sql')),
('socorro', [
'socorro_revision.txt',
'breakpad_revision.txt',
'JENKINS_BUILD_NUMBER'
]),
('socorro/siglists', glob.glob('socorro/siglists/*.txt')),
('socorro/schemas', glob.glob('socorro/schemas/*.json')),
],
)
assert glob.glob('socorro/schemas/*.json') # TEMP