~mars/tarmac/throwaway-merge-source

21 by Paul Hummer
Got setup.py working
1
#!/usr/bin/env python
124.1.1 by Elliot Murphy
Add GPL3 license headers to all the files and correct setup.py to say
2
# Copyright 2009 Paul Hummer
3
#
4
# This file is part of Tarmac.
5
#
6
# Tarmac 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
9
# the Free Software Foundation.
10
#
11
# Tarmac is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
# GNU General Public License for more details.
15
#
16
# You should have received a copy of the GNU General Public License
17
# along with Tarmac.  If not, see <http://www.gnu.org/licenses/>.
21 by Paul Hummer
Got setup.py working
18
'''Tarmac installation script.'''
19
20
from distutils.core import setup
21
85 by Paul Hummer
Reverted my mental retardation for package structure
22
from tarmac import __version__
21 by Paul Hummer
Got setup.py working
23
24
setup(
126.1.1 by Elliot Murphy
Fixes to setup.py so that the tarmac.plugins sub-package is included.
25
    author='Paul Hummer',
26
    author_email='Paul Hummer <paul@eventuallyanyway.com',
126.2.2 by Elliot Murphy
Change the name back to lowercase so that tarball generated by
27
    name=u'tarmac',
21 by Paul Hummer
Got setup.py working
28
    version=__version__,
29
    description=u'Tarmac - The Launchpad Lander',
258.1.1 by Rodney Dawes
Move tarmac-script to bin/tarmac
30
    url=u'http://launchpad.net/tarmac',
124.1.1 by Elliot Murphy
Add GPL3 license headers to all the files and correct setup.py to say
31
    license=u'GPLv3',
258.1.1 by Rodney Dawes
Move tarmac-script to bin/tarmac
32
    package_dir={'tarmac': 'tarmac'},
33
    packages=['tarmac', 'tarmac.bin', 'tarmac.plugins', 'tarmac.tests'],
34
    scripts=['bin/tarmac'],
303 by Paul Hummer
Don't install the tarmac-web script. It's untested state confuses me as well as users.
35
    #data_files=[('share/tarmac/', ['tarmac-web']),
36
    #            ('share/tarmac/templates/', ['templates/index.html']),
37
    #            ],
340.1.1 by Rodney Dawes
Missing comma in setup.py from last commit
38
    data_files=[('share/man/man1', ['docs/tarmac.1'])],
21 by Paul Hummer
Got setup.py working
39
    long_description='''
40
        Tarmac is a series of scripts to facilitate the landing of Bazaar
258.1.1 by Rodney Dawes
Move tarmac-script to bin/tarmac
41
        branches in Launchpad (http://edge.launchpad.net).''',
42
    )