openbsd-ports/textproc/py-nltk/patches/patch-setup_py
benoit b08e702360 - update py-nltk to 2.0.4
- regen PLIST
- update patches and MASTER_SITES
- add MODPY_SETUPTOOLS

comments and ok sthen@
2013-01-04 11:27:15 +00:00

24 lines
794 B
Plaintext

$OpenBSD: patch-setup_py,v 1.3 2013/01/04 11:27:18 benoit Exp $
--- setup.py.orig Mon Sep 24 11:29:14 2012
+++ setup.py Fri Jan 4 10:58:49 2013
@@ -19,8 +19,8 @@
with open(version_file) as fh:
nltk_version = fh.read().strip()
-import distribute_setup
-distribute_setup.use_setuptools()
+#import distribute_setup
+#distribute_setup.use_setuptools()
from setuptools import setup, find_packages
@@ -69,7 +69,7 @@
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Linguistic',
],
- package_data = {'nltk': ['nltk.jar', 'test/*.doctest', 'VERSION']},
+ package_data = {'nltk': ['test/*.doctest', 'VERSION']},
packages = find_packages(),
zip_safe=False, # since normal files will be present too?
install_requires=['PyYAML>=3.09'],