Skip to content

Commit 39f481b

Browse files
committed
Update README and setup.py.
1 parent b16e93b commit 39f481b

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ This library provides i18n functionality for Python 3 out of the box. The usage
55

66
## Installation
77

8-
Simply download the package and run
8+
Just run
99

10-
python setup.py install
10+
pip install python-i18n
1111

12-
Make sure you are using Python 3. If you want to use YAML translation files, you will need PyYAML installed as well. If you are using `easy_install`, you can use
12+
If you want to use YAML to store your translations, use
1313

14-
easy_install python-i18n[yaml]
15-
16-
to install both.
14+
pip install python-i18n[YAML]
1715

1816
## Usage
1917
### Basic usage

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@
1414
include_package_data=True,
1515
zip_safe=True,
1616
test_suite='i18n.tests',
17+
extras_require={
18+
'YAML': ["pyyaml>=3.10"],
19+
},
1720
classifiers=[
1821
'Development Status :: 4 - Beta',
1922
'Environment :: Other Environment',
2023
'Intended Audience :: Developers',
2124
'License :: OSI Approved :: MIT License',
2225
'Operating System :: OS Independent',
26+
'Programming Language :: Python :: 2',
2327
'Programming Language :: Python :: 3',
2428
'Topic :: Software Development :: Libraries'
2529
],

0 commit comments

Comments
 (0)