Skip to content

Commit

Permalink
dynamic version in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
josuebrunel committed May 9, 2015
1 parent 41e0b0c commit a9727e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import os
from setuptools import setup, find_packages

__version__ = "1.2.1"

#requirements.txt
with open('requirements.txt') as f:
required = f.read().splitlines()
Expand All @@ -10,13 +12,13 @@ def read(fname):

setup(
name = "myql",
version = "1.2.1",
version = __version__,
description = "Python Wrapper for the Yahoo ! Query Language",
long_description = read("README.rst"),
author = "Josue Kouka",
author_email = "[email protected]",
url = "https://github.com/josuebrunel/MYQL",
download_url = "https://github.com/josuebrunel/myql/archives/1.2.tar.gz",
download_url = "https://github.com/josuebrunel/myql/archives/{0}tar.gz".format(__version__),
keywords = ['myql', 'yql', 'yahoo', 'query', 'language'],
packages = find_packages(),
classifiers = [
Expand Down

0 comments on commit a9727e8

Please sign in to comment.