Skip to content

Commit

Permalink
Distribuir carpeta examples/
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Oct 8, 2016
1 parent 673d649 commit c6c085e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Empty file added examples/__init__.py
Empty file.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# -*- coding: utf-8 -*-

import sys
from glob import glob
from setuptools import setup, find_packages

sys.path.insert(0, 'bormeparser')
Expand Down Expand Up @@ -42,6 +43,9 @@ def get_install_requires():
setup(
name='bormeparser',
packages=find_packages(exclude=['*.tests']),
package_data={
"bormeparser": ["examples/BORME-A-2015-27-10.pdf"]
},
version=__version__,
description="bormeparser is a Python library for parsing BORME files",
long_description=long_description,
Expand All @@ -55,7 +59,10 @@ def get_install_requires():
'Programming Language :: Python :: 2',
],
license=__license__,
data_files=[('', ['LICENSE.txt'])],
data_files=[
('', ['LICENSE.txt']),
#('examples', glob('examples/*'))
],
include_package_data=True,
zip_safe=False,
install_requires=get_install_requires(),
Expand Down

0 comments on commit c6c085e

Please sign in to comment.