setuptools - Python custom module installalation won't copy static files -


hi i'm developing python module , when create install package using python setup.py sdist bdist_egg files included on zip file, when run python setup.py install files copied except static files. full project on:

https://github.com/efirvida/python-gearbox

my setup.py

from setuptools import setup, find_packages version = '0.1.0a' setup(     name='python-gearbox',     version=version,     author='eduardo m. firvida donestevez',     packages=find_packages(),     include_data_package=true,     author_email='efirvida@gmail.com',     description='python library gear transmission design',     requires=['numpy', 'scipy'],     url='https://github.com/efirvida/python-gearbox',     download_url='https://github.com/efirvida/python-gearbox/archive/master.zip',     keywords=['gearbox', 'gear', 'agma', 'iso', 'gear transmission', 'engineering'],     platforms='any',     license='mit',     zip_safe=false,     classifiers=['intended audience :: developers',              'intended audience :: manufacturing',              'intended audience :: science/research',              'natural language :: english',              'programming language :: python',              'programming language :: python :: 2.7',              'topic :: scientific/engineering',              'topic :: scientific/engineering :: human machine interfaces',              'topic :: software development',              'topic :: software development :: libraries',              'topic :: software development :: libraries :: application frameworks'              ] ) 

i think i've got this. in setup.py change

 include_data_package=true, 

into:

 include_package_data=true 

if @ log when doing python setup.py install, you'll find clue:

/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/distutils/dist.py:267:  userwarning: unknown distribution option: 'include_data_package' 

besides, made modifications manifest.in, make clearer:

include makefile changes license authors readme  recursive-include gearbox/doc/source *.rst recursive-include gearbox/export/templates * recursive-exclude gearbox *.pyc 

Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -