My favorites | Sign in
Project Logo
                
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python
#
# Distutils setup script for the Natural Language Toolkit
#
# Copyright (C) 2001-2009 NLTK Project
# Author: Steven Bird <sb@csse.unimelb.edu.au>
# Edward Loper <edloper@gradient.cis.upenn.edu>
# Ewan Klein <ewan@inf.ed.ac.uk>
# URL: <http://www.nltk.org/>
# For license information, see LICENSE.TXT

from setuptools import setup
import nltk

#
# Prevent setuptools from trying to add extra files to the source code
# manifest by scanning the version control system for its contents.
#
from setuptools.command import sdist
del sdist.finders[:]

setup(
#############################################
## Distribution Metadata
name = "nltk",
description = "Natural Language Toolkit",

version = nltk.__version__,
url = nltk.__url__,
long_description = nltk.__longdescr__,
license = nltk.__license__,
keywords = nltk.__keywords__,
maintainer = nltk.__maintainer__,
maintainer_email = nltk.__maintainer_email__,
author = nltk.__author__,
author_email = nltk.__author__,
classifiers = nltk.__classifiers__,
# platforms = <platforms>,

#############################################
## Package Data
package_data = {'nltk': ['nltk.jar', 'test/*.doctest']},

#############################################
## Package List
packages = ['nltk',
'nltk.app',
'nltk.chat',
'nltk.chunk',
'nltk.ccg',
'nltk.classify',
'nltk.corpus',
'nltk.corpus.reader',
'nltk.cluster',
'nltk.draw',
'nltk.examples',
'nltk.inference',
'nltk.metrics',
'nltk.misc',
'nltk.model',
'nltk.parse',
'nltk.sem',
'nltk.stem',
'nltk.tag',
'nltk.test',
'nltk.tokenize',
'nltk.toolbox',
'nltk.etree'
],
zip_safe=False, # since normal files will be present too?
install_requires=['setuptools',
'PyYAML==3.08',
],
test_suite = 'nltk.test.simple',
)
Show details Hide details

Change log

r8413 by StevenBird1 on Nov 08, 2009   Diff
Examples for Portuguese, similar to
nltk.book for English
Go to: 
Sign in to write a code review

Older revisions

r8270 by brandon.craig.rhodes on Jul 14, 2009   Diff
Told setuptools to ignore version
control when composing the list of
files to include in our source
archive.
r8237 by StevenBird1 on Jul 06, 2009   Diff
build to include Python eggs; update
to Apache license in init.py
r8234 by brandon.craig.rhodes on Jul 03, 2009   Diff
Redirected the attention of the
"setup-eggs.py" file to the small,
portable "simple.doctest" test suite
instead of the huge, normal test
suite that requires nltk_data to be
...
All revisions of this file

File info

Size: 2263 bytes, 75 lines

File properties

svn:mergeinfo
svn:eol-style
native
svn:executable
*
svn:keywords
Author Date Id Revision
Hosted by Google Code