Changeset 130:b7b1349ad770
- Timestamp:
- 11/08/08 19:51:38 (3 years ago)
- Author:
- chris
- Branch:
- unix
- Message:
-
use bdist_debain found from Gene Cash to create a debian package
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r125
|
r130
|
|
| 5 | 5 | .PHONY : clean |
| 6 | 6 | clean: |
| 7 | | rm -f $(TRASH) |
| 8 | | rm -rf build dist |
| | 7 | rm -f $(TRASH) MANIFEST |
| | 8 | rm -rf build dist StormSiren.egg-info |
| 9 | 9 | cd StormSiren && rm -f $(TRASH) |
| 10 | 10 | |
-
|
r125
|
r130
|
|
| 5 | 5 | # |
| 6 | 6 | |
| 7 | | from distutils.core import setup |
| | 7 | import bdist_debian |
| | 8 | |
| | 9 | try: |
| | 10 | from setuptools import setup |
| | 11 | except ImportError: |
| | 12 | from distutils.core import setup |
| | 13 | |
| | 14 | version = file('VERSION').read().strip() |
| 8 | 15 | |
| 9 | 16 | setup(name="StormSiren", |
| 10 | | version="2.0", |
| | 17 | version=version, |
| 11 | 18 | description="StormSiren is an application that allows individuals to receive weather alert notifications.", |
| | 19 | long_description="StormSiren is an Internet application that allows\nindividuals to receive alert notifications via\nEmail, SMS, Jabber Instant Messaging, playing\nsound files, external program execution, MythTV\nvisual alerts, and OSD (On Screen Display) visual\nalerts of weather events posted by the NOAA. This\nis a rewrite of the original StormSiren created by\nRory McManus. StormSiren is free, open source,\nsoftware distributed under the Berkley license.", |
| 12 | 20 | author="Chris Freeze", |
| 13 | 21 | author_email="cfreeze@users.sourceforge.net", |
| 14 | 22 | url="http://www.cfreeze.com/trac/stormsiren/", |
| | 23 | keywords="weather science", |
| | 24 | maintainer="Chris Freeze", |
| | 25 | maintainer_email="cfreeze@users.sourceforge.net", |
| | 26 | depends="python", |
| 15 | 27 | license="BSD", |
| | 28 | recommends="python-xmppy", |
| | 29 | suggests="cron", |
| | 30 | section="user/other", |
| | 31 | architecture="all", |
| | 32 | essential="no", |
| 16 | 33 | packages=[ |
| 17 | 34 | 'StormSiren' |
| … |
… |
|
| 19 | 36 | scripts=[ |
| 20 | 37 | 'StormSiren.py' |
| 21 | | ] |
| | 38 | #] |
| | 39 | ], |
| | 40 | cmdclass={'bdist_debian': bdist_debian.bdist_debian} |
| 22 | 41 | ) |