Skip to content

Commit

Permalink
[upd] Added the docs, Examples, impact and util files to the installa…
Browse files Browse the repository at this point in the history
…tion via pip
  • Loading branch information
WeisLeDocto committed Aug 20, 2021
1 parent d09e95b commit e92d1e3
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,13 @@
print("Can't find microEnable4 Device driver, clModule will not be "
"compiled")

docs_files = [('crappy/' + path, [path + '/' + name for name in paths]) for
(path, _, paths) in walk('docs/source')]

setup(
name='crappy',

version='1.4.1',
version='1.4.2',

description='Command and Real-time Acquisition Parallelized in Python',

Expand Down Expand Up @@ -137,6 +140,19 @@

install_requires=['numpy'],

data_files=[('crappy/data', ['data/'+s for s in listdir('data')]),
('crappy/docs/source', ['docs/source/whatiscrappy.rst'])]
data_files=[('crappy/data',
['data/' + filename for filename in listdir('data')]),

('crappy/docs', ['docs/Makefile']),

('crappy/Examples',
['Examples/' + filename for filename in listdir('Examples')]),

('crappy/impact',
['impact/' + filename for filename in listdir('impact')]),

('crappy/util',
['util/' + filename for filename in listdir('util')])

] + docs_files
)

0 comments on commit e92d1e3

Please sign in to comment.