-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
154 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
# This __about__.py file for storing project metadata is inspired by | ||
# the warehouse project: | ||
# https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py | ||
|
||
__version__ = '0.4.0' | ||
__version_info__ = __version__.replace('.', ' ').replace('-', ' ').split() | ||
|
||
__title__ = 'pyDelphin' | ||
__summary__ = 'Libraries and scripts for DELPH-IN data' | ||
__uri__ = 'https://github.com/delph-in/pydelphin' | ||
|
||
__author__ = 'Michael Wayne Goodman' | ||
__email__ = '[email protected]' | ||
|
||
__license__ = 'MIT' | ||
__copyright__ = '2013 %s <%s> and contributors' % (__author__, __email__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
DeprecationWarning | ||
) | ||
|
||
from delphin.mrs import simplemrs, mrx, dmrx | ||
from delphin.mrs import simplemrs, mrx, dmrx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import sys | ||
import os | ||
from setuptools import setup | ||
from setuptools.command.test import test as TestCommand | ||
|
||
|
@@ -31,15 +32,29 @@ def initialize_options(self): | |
'--cov-report=html' | ||
] | ||
|
||
long_description = '''\ | ||
pyDelphin provides a suite of libraries for modeling Minimal Recursion | ||
Semantics (MRS; including DMRS), derivation trees, and [incr tsdb()] | ||
profiles; introspection tools for Type Description Language (TDL), | ||
which is used to define HPSG grammars; a Python wrapper for the ACE | ||
parser; and some extra tools for syntax highlighting or LaTeX output. | ||
Python developers who work with DELPH-IN data can rely on pyDelphin to | ||
correctly deal with such data via convenient interfaces.''' | ||
|
||
base_dir = os.path.dirname(__file__) | ||
about = {} | ||
with open(os.path.join(base_dir, "delphin", "__about__.py")) as f: | ||
exec(f.read(), about) | ||
|
||
setup( | ||
name='pyDelphin', | ||
version='0.3', | ||
url='https://github.com/delph-in/pydelphin', | ||
author='Michael Wayne Goodman', | ||
author_email='[email protected]', | ||
description='Libraries and scripts for DELPH-IN data.', | ||
license='MIT', | ||
name=about['__title__'], | ||
version=about['__version__'], | ||
description=about['__summary__'], | ||
long_description=long_description, | ||
url=about['__uri__'], | ||
author=about['__author__'], | ||
author_email=about['__email__'], | ||
license=about['__license__'], | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Console', | ||
|
@@ -52,6 +67,7 @@ def initialize_options(self): | |
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Topic :: Scientific/Engineering :: Information Analysis', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Text Processing :: Linguistic', | ||
|
@@ -60,10 +76,11 @@ def initialize_options(self): | |
keywords='nlp semantics hpsg delph-in', | ||
packages=[ | ||
'delphin', | ||
'delphin.lib', | ||
'delphin.interfaces', | ||
'delphin.mrs', | ||
'delphin.extra', | ||
'delphin.codecs', | ||
'delphin.codecs' | ||
], | ||
install_requires=[ | ||
'networkx', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Tox (http://tox.testrun.org/) is a tool for running tests | ||
# in multiple virtualenvs. This configuration file will run the | ||
# test suite on all supported python versions. To use it, "pip install tox" | ||
# and then run "tox" from this directory. | ||
|
||
[tox] | ||
envlist = py27, py33, py34, py35 | ||
|
||
[testenv] | ||
commands = {envpython} setup.py test | ||
deps = | ||
pytest | ||
networkx |