Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathsetup.py
More file actions
Latest commit
58 lines (50 loc) · 1.65 KB
/
Copy pathsetup.py
File metadata and controls
58 lines (50 loc) · 1.65 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
importos
importsys
importcodecs
fromsetuptoolsimportsetup
required= ['httplib2']
tests_require= []
ifsys.version_info[:2] < (2, 7):
tests_require.append('unittest2')
ifsys.version_info[:2] < (3, 3):
tests_require.append('mock')
defget_version():
withopen(os.path.join('embedly', '__init__.py')) asf:
forlineinf:
ifline.startswith('__version__ ='):
returnline.split('=')[1].strip().strip('"\'')
ifos.path.exists("README.rst"):
long_description=codecs.open("README.rst", "r", "utf-8").read()
else:
long_description="See https://github.com/embedly/embedly-python"
setup(
name='Embedly',
version=get_version(),
author='Embed.ly, Inc.',
author_email='support@embed.ly',
description='Python Library for Embedly',
long_description=long_description,
license="""
Copyright (c) 2011, Embed.ly, Inc.
All rights reserved. Released under the 3-clause BSD license.
""",
url="https://github.com/embedly/embedly-python",
packages=['embedly'],
install_requires=required,
tests_require=tests_require,
test_suite="embedly.tests",
zip_safe=True,
use_2to3=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
]
)