forked from Debian/debsources
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.72 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (C) 2014 Matthieu Caneill <[email protected]>
#
# This file is part of Debsources.
#
# Debsources is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
import glob
from setuptools import setup, find_packages
with open('requirements.txt') as f:
install_requires = [l for l in f.read().splitlines()
if not l.startswith('#')]
description = 'Browse, query and make stats on Debian packages source code.'
long_description = ( # NOQA
'This tool allows you to set up a Debsources instance, and synchronize\n'
'the packages sources you want, in order to browse them via a web\n'
'application, produce statistics through plugins, and play with source code.')
setup(
name='debsources',
version='0.1',
packages=find_packages(),
install_requires=install_requires,
scripts=glob.glob('bin/debsources-*'),
include_package_data=True,
author="Stefano Zacchiroli, Matthieu Caneill",
author_email="[email protected]",
long_description=long_description,
description=description,
license="AGPL3+",
url="https://anonscm.debian.org/gitweb/?p=qa/debsources.git",
platforms=['any'],
)