/
setup.py
executable file
·52 lines (45 loc) · 1.84 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
#!/usr/bin/env python
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
version = __import__('lobbyists').VERSION
setup(
name = 'lobbyists',
version = version,
packages = ['lobbyists'],
test_suite = 'lobbyists',
package_data = { 'lobbyists' : ['lobbyists.sql'] },
entry_points = {
'console_scripts': ['lobbyists-load = lobbyists.util:load_main',
'lobbyists-benchmark = lobbyists.benchmark:main']
},
author = 'Drew Hess',
author_email = 'dhess-src@bothan.net',
description = 'Parse Senate LD-1/LD-2 lobbying disclosure XML documents',
license = 'GPLv3',
keywords = 'lobbyists government parser',
url = 'http://github.com/dhess/lobbyists/',
long_description = """
This package provides a reference parser and database importer for the
United States Senate LD-1/LD-2 lobbying disclosure database. The
Senate provides the database as a series of XML documents,
downloadable here:
http://www.senate.gov/legislative/Public_Disclosure/database_download.htm
The SQL database schema used by the importer is a direct translation
of the XML schema used in the Senate documents. This isn't a
particularly useful format for analyzing lobbying data, but it is
useful for analyzing the lobbying records themselves, which often
contain errors or anomalies. In any case, it shouldn't be too
difficult to adapt the importing code in this package to a more useful
schema.
""",
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Database',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)