提交 41b4fa90 编写于 作者: T TeslaZhao

Revert #1254

上级 4c4dfeb0
......@@ -25,10 +25,6 @@ from setuptools import setup
from paddle_serving_app.version import version_tag
from pkg_resources import DistributionNotFound, get_distribution
class BinaryDistribution(Distribution):
def has_ext_modules(foo):
return True
def python_version():
return [int(v) for v in platform.python_version().split(".")]
......@@ -92,7 +88,6 @@ setup(
packages=packages,
package_data=package_data,
package_dir=package_dir,
distclass=BinaryDistribution,
# PyPI package information.
classifiers=[
'Development Status :: 4 - Beta',
......
......@@ -26,10 +26,6 @@ from paddle_serving_client.version import version_tag
import util
py_version = sys.version_info
class BinaryDistribution(Distribution):
def has_ext_modules(foo):
return True
def copy_lib():
os.popen('mkdir -p paddle_serving_client/lib')
......@@ -93,7 +89,6 @@ setup(
packages=packages,
package_data=package_data,
package_dir=package_dir,
distclass=BinaryDistribution,
# PyPI package information.
classifiers=[
'Development Status :: 4 - Beta',
......
......@@ -22,10 +22,6 @@ from setuptools import setup
from paddle_serving_server.version import version_tag, version_suffix
import util
class BinaryDistribution(Distribution):
def has_ext_modules(foo):
return True
package_version = version_tag.replace('-', '')
if version_suffix != "":
version_suffix = "post" + version_suffix
......@@ -75,7 +71,6 @@ setup(
packages=packages,
package_data=package_data,
package_dir=package_dir,
distclass=BinaryDistribution,
# PyPI package information.
classifiers=[
'Development Status :: 4 - Beta',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册