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:
parent
eeac0feb14
commit
329952410d
9
setup.py
9
setup.py
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user