-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.base.py
58 lines (48 loc) · 1.76 KB
/
setup.base.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
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env python
# coding: utf8
''' © copyright 2009 Denis Derman
contact: denis <dot> spir <at> free <dot> fr
This file is part of PIJNU.
PIJNU is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PIJNU 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with PIJNU: see the file called 'GPL'.
If not, see <http://www.gnu.org/licenses/>.
'''
from distutils.core import setup
from datetime import date
long_description = """\
'pijnu' is
* a parsing language extended from PEG,
* a parser generator for grammars written using this language,
* a tool for post-match processing parse results.
'pijnu' is intended to be clear, easy, practicle.
"""
# version code should be overloaded by makeRelease
version = None
if version is None: version = str(date.today()).replace("-","") # eg "20090831"
setup( name="pijnu",
version=version,
author="Denis Derman",
author_email="denis.spir@free.fr",
url="http://spir.wikidot.com/pijnu",
license="GPL3",
platforms=["unix-like", "more? needs tests"],
#~ packages=["pijnu"],
scripts=[],
description="text parsing & processing tool",
long_description=long_description,
classifiers=[
'License :: GPL',
'Development Status :: 4 - Beta',
'Topic :: Software Development',
'Intended Audience :: Developers',
'Programming Language :: Python',
]
)