1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-23 19:55:38 +01:00

Use __version__ from the lib

This commit is contained in:
Johan Andersson 2013-03-23 15:17:15 +01:00
parent eeac0feb14
commit 329952410d
2 changed files with 7 additions and 2 deletions

View File

@ -1,15 +1,20 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import os
srcdir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib/")
sys.path.insert(0, srcdir)
import svtplay_dl
setup(
name = "svtplay-dl",
version = "0.9.2013.03.06", # FIXME - extract from svtplay-dl
version = svtplay_dl.__version__,
packages = find_packages(
'lib',
exclude=["tests", "*.tests", "*.tests.*"]),
package_dir = {'': 'lib'},
scripts = ['svtplay-dl'],
scripts = ['bin/svtplay-dl'],
author = "Johan Andersson",
author_email = "j@i19.se",