| 1 |
try: |
|---|
| 2 |
from setuptools import setup, find_packages |
|---|
| 3 |
except ImportError: |
|---|
| 4 |
from ez_setup import use_setuptools |
|---|
| 5 |
use_setuptools() |
|---|
| 6 |
from setuptools import setup, find_packages |
|---|
| 7 |
|
|---|
| 8 |
import sys |
|---|
| 9 |
sys.path.insert(0, '.') |
|---|
| 10 |
from microfacts import __version__ |
|---|
| 11 |
|
|---|
| 12 |
setup( |
|---|
| 13 |
name='microfacts', |
|---|
| 14 |
version=__version__, |
|---|
| 15 |
license='MIT', |
|---|
| 16 |
description=\ |
|---|
| 17 |
"A web application for threading together 'factlets' into narratives organized by theme, time and space.", |
|---|
| 18 |
author='Open Knowledge Foundation', |
|---|
| 19 |
author_email='info@okfn.org', |
|---|
| 20 |
url='http://www.okfn.org/microfacts/', |
|---|
| 21 |
install_requires=['Pylons>=0.9.6.1', |
|---|
| 22 |
'uuid>=1.0', # in python >= 2.5 this is in the std lib |
|---|
| 23 |
'dateutil>=1.0', |
|---|
| 24 |
'Genshi>=0.4', |
|---|
| 25 |
'SQLAlchemy>=0.4.5,<0.4.99', |
|---|
| 26 |
'AuthKit==0.4.0', |
|---|
| 27 |
'paginate==0.3.2', |
|---|
| 28 |
'geojson>=1.0,<2.0', |
|---|
| 29 |
'Shapely>=1.0,<2.0', |
|---|
| 30 |
], |
|---|
| 31 |
extras_require = { |
|---|
| 32 |
'getdata' : ['SPARQL>=1.0'], |
|---|
| 33 |
}, |
|---|
| 34 |
packages=find_packages(exclude=['ez_setup']), |
|---|
| 35 |
include_package_data=True, |
|---|
| 36 |
test_suite='nose.collector', |
|---|
| 37 |
package_data={'microfacts': ['i18n/*/LC_MESSAGES/*.mo']}, |
|---|
| 38 |
zip_safe=False, |
|---|
| 39 |
#message_extractors = {'microfacts': [ |
|---|
| 40 |
# ('**.py', 'python', None), |
|---|
| 41 |
# ('public/**', 'ignore', None)]}, |
|---|
| 42 |
entry_points=""" |
|---|
| 43 |
[paste.app_factory] |
|---|
| 44 |
main = microfacts.config.middleware:make_app |
|---|
| 45 |
|
|---|
| 46 |
[paste.app_install] |
|---|
| 47 |
main = pylons.util:PylonsInstaller |
|---|
| 48 |
|
|---|
| 49 |
[paste.paster_command] |
|---|
| 50 |
db = microfacts.lib.cli:ManageDb |
|---|
| 51 |
test-data = microfacts.lib.cli:TestData |
|---|
| 52 |
demo-data = microfacts.lib.cli:DemoData |
|---|
| 53 |
clean-db = microfacts.lib.cli:CleanDb |
|---|
| 54 |
ww2-data = microfacts.lib.cli:WW2Data |
|---|
| 55 |
dbpedia = microfacts.lib.cli:Dbpedia |
|---|
| 56 |
""", |
|---|
| 57 |
) |
|---|