Skip to content

Instantly share code, notes, and snippets.

@vishal-kvn
Last active May 20, 2020 20:25
Show Gist options
  • Select an option

  • Save vishal-kvn/5c9b4a09da5da71e55dcf6b9cce33adb to your computer and use it in GitHub Desktop.

Select an option

Save vishal-kvn/5c9b4a09da5da71e55dcf6b9cce33adb to your computer and use it in GitHub Desktop.
package_data is very helpful. The default behavior is to include only .py under site-packages
#!/usr/bin/env python
from setuptools import setup, find_packages
# https://svn.python.org/projects/sandbox/trunk/setuptools/setuptools.txt
# ls /Users/vkajjam/miniconda3/envs/feature_engineering/lib/python3.7/site-packages/
setup(
name="color profiler",
version="0.0.1",
description="color profiler app.",
packages=find_packages(),
# include_package_data=True,
package_data = {
'': ['*.yaml'],
},
url="https://github.com/vishal-kvn/color_profiler.git",
install_requires=['opencv-python',
'numpy',
'matplotlib',
'scipy',
'SolrClient',
'Flask',
'pyyaml',
'fnv',
'boto3',
],
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment