forked from alexis-mignon/python-flickr-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (21 loc) · 616 Bytes
/
setup.py
File metadata and controls
23 lines (21 loc) · 616 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from setuptools import setup
import re
VERSION_FILE = "flickr_api/_version.py"
try:
vers_content = open(VERSION_FILE, "r").read()
version_str = re.search(r'__version__ = "(.+?)"', vers_content).group(1)
except:
raise RuntimeError("Could not read version file.")
setup(
name="flickr_api",
version=version_str,
description="Python wrapper for the Flickr API",
author="Alexis Mignon",
author_email="alexis.mignon@gmail.com",
url="http://code.google.com/p/python-flickr-api/",
packages=["flickr_api"],
install_requires=[
"oauth",
],
license="BSD License",
)