oxtimelines/setup.py
2016-02-18 19:54:24 +05:30

38 lines
1,006 B
Python

# setup.py
# -*- coding: UTF-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
try:
from setuptools import setup
except:
from distutils.core import setup
def get_version():
import subprocess
rev = subprocess.check_output(['git', 'rev-list', 'HEAD', '--count']).strip()
if rev:
return u'0.%s' % rev
return u'unknown'
setup(name='oxtimelines',
version='0.%s' % get_version() ,
scripts=[
'bin/oxtimelines',
],
packages=[
'oxtimelines',
],
author='0x2620',
author_email='0x2620@0x2620.org',
url="https://wiki.0x2620.org/wiki/oxtimelines",
download_url="http://code.0x2620.org/oxtimelines/download",
license="GPLv3",
description='extract timelines from videos',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
)