Skip to content

Commit

Permalink
Fix package_data in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-mo committed Jun 7, 2019
1 parent f682ed9 commit b44a142
Showing 1 changed file with 30 additions and 19 deletions.
49 changes: 30 additions & 19 deletions clipper_admin/setup.py
Original file line number Diff line number Diff line change
@@ -1,34 +1,45 @@
from setuptools import setup
import os

with open('README.rst') as f:
with open("README.rst") as f:
readme = f.read()

with open(os.path.abspath("clipper_admin/VERSION.txt"), "r") as fp:
version = fp.read().strip()

setup(
name='clipper_admin',
name="clipper_admin",
version=version,
description='Admin commands for the Clipper prediction-serving system',
description="Admin commands for the Clipper prediction-serving system",
long_description=readme,
maintainer='Dan Crankshaw',
maintainer_email='[email protected]',
url='http://clipper.ai',
license='Apache-2.0',
maintainer="Dan Crankshaw",
maintainer_email="[email protected]",
url="http://clipper.ai",
license="Apache-2.0",
packages=[
"clipper_admin", "clipper_admin.docker", "clipper_admin.kubernetes",
"clipper_admin.deployers", "clipper_admin.metrics", "clipper_admin.docker.logging"
"clipper_admin",
"clipper_admin.docker",
"clipper_admin.kubernetes",
"clipper_admin.deployers",
"clipper_admin.metrics",
"clipper_admin.docker.logging",
],
package_data={'clipper_admin': ['*.txt', '*/*.yaml', "*/*.conf"]},
keywords=['clipper', 'prediction', 'model', 'management'],
package_data={"": ["*.txt", "*.yaml", "*.conf"]},
keywords=["clipper", "prediction", "model", "management"],
install_requires=[
'requests>=2.20.0', 'numpy', 'subprocess32; python_version<"3"', 'pyyaml>=4.2b1',
'docker>=3.0', 'kubernetes>=6.0.0', 'prometheus_client',
'cloudpickle==0.5.3', 'enum34; python_version<"3.4"', 'redis', 'psutil',
'jsonschema', 'jinja2'
"requests>=2.20.0",
"numpy",
'subprocess32; python_version<"3"',
"pyyaml>=4.2b1",
"docker>=3.0",
"kubernetes>=6.0.0",
"prometheus_client",
"cloudpickle==0.5.3",
'enum34; python_version<"3.4"',
"redis",
"psutil",
"jsonschema",
"jinja2",
],
extras_require={
'PySpark': ['pyspark'],
'TensorFlow': ['tensorflow'],
})
extras_require={"PySpark": ["pyspark"], "TensorFlow": ["tensorflow"]},
)

0 comments on commit b44a142

Please sign in to comment.