forked from jasder/antlr
update setup.py to use setuptools not distutils (Python 3)
This commit is contained in:
parent
d674274f99
commit
ba47b092e9
|
@ -355,8 +355,7 @@ and do again for Python 3 target
|
||||||
```bash
|
```bash
|
||||||
cd ~/antlr/code/antlr4/runtime/Python3
|
cd ~/antlr/code/antlr4/runtime/Python3
|
||||||
# assume you have ~/.pypirc set up
|
# assume you have ~/.pypirc set up
|
||||||
python setup.py register -r pypi
|
python3 setup.py sdist upload
|
||||||
python setup.py sdist bdist_wininst upload -r pypi
|
|
||||||
```
|
```
|
||||||
|
|
||||||
There are links to the artifacts in [download.html](http://www.antlr.org/download.html) already.
|
There are links to the artifacts in [download.html](http://www.antlr.org/download.html) already.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from distutils.core import setup
|
from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='antlr4-python3-runtime',
|
name='antlr4-python3-runtime',
|
||||||
|
@ -9,5 +9,5 @@ setup(
|
||||||
license='BSD',
|
license='BSD',
|
||||||
author='Eric Vergnaud, Terence Parr, Sam Harwell',
|
author='Eric Vergnaud, Terence Parr, Sam Harwell',
|
||||||
author_email='eric.vergnaud@wanadoo.fr',
|
author_email='eric.vergnaud@wanadoo.fr',
|
||||||
description='ANTLR 4.7.1 runtime for Python 3.4.0'
|
description='ANTLR 4.7.1 runtime for Python 3.6.3'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue