Skip to content

Commit

Permalink
Update package information
Browse files Browse the repository at this point in the history
  • Loading branch information
peter17 committed Jun 13, 2011
1 parent 3759ce6 commit 8e6336d
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 156 deletions.
2 changes: 2 additions & 0 deletions MANIFEST
@@ -0,0 +1,2 @@
README.rst
setup.py
17 changes: 9 additions & 8 deletions PKG-INFO
@@ -1,22 +1,23 @@
Metadata-Version: 1.0
Name: pijnu
Version: 20090619
Version: 20110610
Summary: text parsing & processing tool
Home-page: http://spir.wikidot.com/pijnu
Author: Denis Derman
Author-email: denis.spir@free.fr
Home-page: http://www.github.com/peter17/pijnu
Author: Peter Potrowl
Author-email: peter017@gmail.com
License: GPL3
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.
* a tool to help processing processing parse results.

'pijnu' is intended to be clear, easy, practicle.
'pijnu' is intended to be clear, easy, practical.

Platform: unix-like
Platform: more? needs tests
Platform: Any
Classifier: License :: GPL
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Software Development
Classifier: Topic :: Text Processing
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
92 changes: 47 additions & 45 deletions __init__.py
@@ -1,48 +1,50 @@
# 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/>.
'''
''' p i j n u
client interface to export useful names
dependance structure:
pijnu
library
tools (used everywhere)
parser
pattern
result (includes builtin transforms)
exception
generator <-- lib
samples <-- generator, lib
test <-- generator, lib
'''
# -*- coding: utf8 -*-

'''
© 2009 Denis Derman (former developer) <denis.spir@gmail.com>
© 2011 Peter Potrowl (current developer) <peter017@gmail.com>
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/>.
'''

'''
PIJNU
Client interface to export useful elements
Dependance structure:
pijnu
library
tools (used everywhere)
parser
pattern
result (includes builtin transforms)
exception
generator <-- lib
samples <-- generator, lib
test <-- generator, lib
'''

### import/export
import tools # python language basic tools
import library # pijnu internal library
import generator # parser & pattern generation
import tools # custom python tools
import library # pijnu internal library
import generator # parser & pattern generation

# allow user write "from pijnu import makeParser"
from generator import makeParser, getPattern
from generator import makeParser, getPattern, fileText
58 changes: 0 additions & 58 deletions setup.base.py

This file was deleted.

97 changes: 52 additions & 45 deletions setup.py
@@ -1,25 +1,27 @@
# -*- coding: utf8 -*-
#!/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/>.
'''

'''
© 2009 Denis Derman (former developer) <denis.spir@gmail.com>
© 2011 Peter Potrowl (current developer) <peter017@gmail.com>
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
Expand All @@ -28,31 +30,36 @@
'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.
* a tool to help processing processing parse results.
'pijnu' is intended to be clear, easy, practicle.
'pijnu' is intended to be clear, easy, practical.
"""

# version code should be overloaded by makeRelease
version = 20090619
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',
]
)
version = 20110610
if version is None:
version = str(date.today()).replace("-", "") # eg "20090831"

setup(name="pijnu",
version=version,
author="Denis Derman",
author_email="denis.spir@gmail.com",
maintainer="Peter Potrowl",
maintainer_email="peter017@gmail.com",
url="http://www.github.com/peter17/pijnu",
license="GPL3",
platforms=["Any"],
packages=["pijnu"],
scripts=[],
description="text parsing & processing tool",
long_description=long_description,
classifiers=[
'License :: GPL',
'Development Status :: 4 - Beta',
'Topic :: Software Development',
'Topic :: Text Processing',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Programming Language :: Python',
]
)

0 comments on commit 8e6336d

Please sign in to comment.