mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Use inclue_package_data.
This commit is contained in:
parent
ec92ce92fa
commit
f8f09d4b5f
1 changed files with 1 additions and 13 deletions
14
setup.py
14
setup.py
|
|
@ -47,19 +47,7 @@ setup(
|
|||
license='AGPLv3',
|
||||
long_description=description,
|
||||
packages=find_packages(),
|
||||
package_data={
|
||||
# we manually collect the package data, as opposed to using,
|
||||
# include_package_data=True because we don't want the tests to be
|
||||
# included automatically as package data (MANIFEST.in is too greedy)
|
||||
'pelican': [relpath(join(root, name), 'pelican')
|
||||
for root, _, names in walk(join('pelican', 'themes'))
|
||||
for name in names],
|
||||
'pelican.tools': [relpath(join(root, name), join('pelican', 'tools'))
|
||||
for root, _, names in walk(join('pelican',
|
||||
'tools',
|
||||
'templates'))
|
||||
for name in names],
|
||||
},
|
||||
include_package_data=True, # includes all in MANIFEST.in if in package
|
||||
install_requires=requires,
|
||||
extras_require={
|
||||
'Markdown': ['markdown~=3.1.1']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue