Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit35e2862

Browse files
committed
Move all optional dependencies into setup.py
1 parent92ed92a commit35e2862

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

‎setup.py‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
fromdistutils.coreimportsetup
21
importast
32
importos
43
importcodecs
54

5+
fromsetuptoolsimportsetup
6+
7+
68
classifiers=[
79
'Development Status :: 5 - Production/Stable',
810
'Intended Audience :: Developers',
@@ -55,4 +57,13 @@
5557
install_requires=[
5658
'six',
5759
],
60+
extras_require={
61+
":python_version == '2.6'": ["ordereddict"],
62+
"lxml:python_implementation == 'CPython'": ["lxml"],
63+
"genshi": ["genshi"],
64+
"datrie": ["datrie"],
65+
"charade": ["charade"],
66+
"all": ["genshi","datrie","charade"],
67+
"all:python_implementation == 'CPython'": ["lxml"],
68+
},
5869
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp