mirror of
https://github.com/pypiserver/pypiserver
synced 2024-11-09 16:45:51 +01:00
do not run 2to3 anymore when installing
This commit is contained in:
parent
2d3f7bfb7a
commit
4939534404
7
setup.py
7
setup.py
@ -1,14 +1,10 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python
|
||||||
|
|
||||||
import sys, os
|
import sys, os
|
||||||
extrakw = {}
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
extrakw["use_2to3"] = True
|
|
||||||
except ImportError:
|
except ImportError:
|
||||||
if sys.version_info >= (3, 0):
|
|
||||||
raise
|
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
|
|
||||||
@ -57,5 +53,4 @@ setup(name="pypiserver",
|
|||||||
"Programming Language :: Python :: 3.1",
|
"Programming Language :: Python :: 3.1",
|
||||||
"Programming Language :: Python :: 3.2",
|
"Programming Language :: Python :: 3.2",
|
||||||
"Topic :: Software Development :: Build Tools",
|
"Topic :: Software Development :: Build Tools",
|
||||||
"Topic :: System :: Software Distribution"],
|
"Topic :: System :: Software Distribution"])
|
||||||
**extrakw)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user