-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
21 lines (19 loc) · 721 Bytes
/
Copy pathsetup.py
File metadata and controls
21 lines (19 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from distutils.core import setup
from setuptools import find_packages
def debpkgver(changelog="debian/changelog"):
"""read version from the debian/changelog file"""
return open(changelog).readline().split()[1][1:-1]
setup(
name="vcsamqp",
version=debpkgver(),
url='https://github.com/iamer/python-vcs-amqp',
author='BIFH & OBS teams',
author_email='bifh-team@nokia.com',
packages=find_packages(exclude=['ez_setup']),
data_files=[('share/vcs-hooks/svn', ['hooks/svn/vcs-amqp-post-commit']),
('share/vcs-hooks/git', ['hooks/git/vcs-amqp-post-receive'])],
classifiers=[
'Operating System :: OS Independent',
'Programming Language :: Python',
]
)