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
|
||||
|
||||
import sys, os
|
||||
extrakw = {}
|
||||
|
||||
try:
|
||||
from setuptools import setup
|
||||
extrakw["use_2to3"] = True
|
||||
except ImportError:
|
||||
if sys.version_info >= (3, 0):
|
||||
raise
|
||||
from distutils.core import setup
|
||||
|
||||
|
||||
@ -57,5 +53,4 @@ setup(name="pypiserver",
|
||||
"Programming Language :: Python :: 3.1",
|
||||
"Programming Language :: Python :: 3.2",
|
||||
"Topic :: Software Development :: Build Tools",
|
||||
"Topic :: System :: Software Distribution"],
|
||||
**extrakw)
|
||||
"Topic :: System :: Software Distribution"])
|
||||
|
Loading…
Reference in New Issue
Block a user