~snappy-dev/snapcraft/core

68.1.1 by Michael Terry
Add debian packaging
1
#!/usr/bin/env python3
2
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*-
3
#
4
# Copyright (C) 2015 Canonical Ltd
5
#
6
# This program is free software: you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License version 3 as
8
# published by the Free Software Foundation.
9
#
10
# This program is distributed in the hope that it will be useful,
11
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18
import os
19
import subprocess
20
21
from setuptools import setup
22
from setuptools.command.test import test
23
24
25
setup(name="snapcraft",
26
      version="0",
27
      description="Easily craft snaps",
28
      author_email="snappy-devel@lists.ubuntu.com",
29
      url="https://launchpad.net/snapcraft",
30
      packages=['snapcraft',
31
                'snapcraft.plugins'],
143.3.5 by Sergio Schvezov
exposing stage-packages
32
      package_data={'snapcraft': ['manifest.txt']},
68.1.1 by Michael Terry
Add debian packaging
33
      scripts=['bin/snapcraft'],
134.4.1 by Sergio Schvezov
Initial json schema support
34
      data_files=[
227.1.2 by Daniel Holbach
daniel@daydream:~/dev/snappy/snapcraft$ pep8 .
35
          ('share/snapcraft/schema',
36
              ['schema/' + x for x in os.listdir('schema')]),
134.4.1 by Sergio Schvezov
Initial json schema support
37
      ],
237.2.1 by Sergio Schvezov
Run unit tests when building the deb and make a failing test work
38
      test_suite='snapcraft.tests',
134.4.1 by Sergio Schvezov
Initial json schema support
39
      )