This repository was archived by the owner on Jun 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (55 loc) · 1.39 KB
/
setup.py
File metadata and controls
61 lines (55 loc) · 1.39 KB
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
#!/usr/bin/env python
#
# Copyright 2014-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
import sys
from setuptools import setup
PY3 = sys.version_info[0] == 3
install_requires = [
'six',
'anyjson',
]
extra = {}
if PY3:
extra['use_2to3'] = True
else:
install_requires.extend([
'poster',
'mechanize',
])
if sys.version_info[0] == 2 and sys.version_info[1] == 5:
install_requires.extend([
'simplejson',
])
setup(
name='fbconsole',
version='0.4',
description='A simple facebook api client for writing command line scripts.',
author='Paul Carduner, Facebook',
author_email='pcardune@fb.com',
url='http://github.com/fbsamples/fbconsole',
package_dir={'': 'src'},
py_modules=[
'fbconsole',
],
license="BSD",
install_requires=install_requires,
zip_safe=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: BSD',
'Operating System :: OS Independent',
'Topic :: Utilities',
],
test_suite = "fbconsole.test_suite",
entry_points = """
[console_scripts]
fbconsole = fbconsole:shell
""",
**extra
)