-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·85 lines (81 loc) · 2.33 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#!/usr/bin/python
from setuptools import setup, find_packages
import os
EXTRAS_REQUIRES = dict(
web=[
'bottle>=0.10.9',
'paste>=1.7.5.1',
],
mongo=[
'pymongo>=2.2',
],
util=[
'python-dateutil>=2.1',
],
facebook=[
'facepy>=0.6.8',
],
usps=[
'pyusps>=0.0.1',
],
geo=[
'pygeocode>=0.0.1',
],
test=[
'fudge>=1.0.3',
'nose>=1.1.2',
],
dev=[
'ipython>=0.12.1',
],
)
# Tests always depend on all other requirements, except dev
for k,v in EXTRAS_REQUIRES.iteritems():
if k == 'test' or k == 'dev':
continue
EXTRAS_REQUIRES['test'] += v
# Pypi package documentation
root = os.path.dirname(__file__)
path = os.path.join(root, 'README.rst')
with open(path) as fp:
long_description = fp.read()
setup(
name='ubernear',
version='0.0.2',
description=(
"ubernear -- Ubernear monitors Facebook event owners for new "
" events and allows geo-spatial searches on events via a "
" RESTful API"
),
packages = find_packages(),
author='Andres Buritica',
author_email='andres@thelinuxkid.com',
maintainer='Andres Buritica',
maintainer_email='andres@thelinuxkid.com',
url='https://github.com/thelinuxkid/ubernear',
license='MIT',
namespace_packages = ['ubernear'],
test_suite='nose.collector',
install_requires=[
'setuptools',
],
extras_require=EXTRAS_REQUIRES,
entry_points={
'console_scripts': [
'facebook-owner = ubernear.cli.facebook_owner:main [mongo,facebook,util]',
'facebook-event = ubernear.cli.facebook_event:main [mongo,facebook,usps]',
'factual-import = ubernear.cli.factual_import:main [mongo]',
'place-geocode = ubernear.cli.place_geocode:main [mongo,util,geo]',
'event-location = ubernear.cli.event_location:main [mongo,util]',
'event-api = ubernear.cli.event_api:main [web,mongo,util]',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7'
],
)