pppadump/setup.py

38 lines
1.2 KiB
Python
Raw Permalink Normal View History

2018-01-12 14:42:55 +01:00
#!/usr/bin/env python3
import setuptools
# import distutils.command.install_lib
# from distutils.core import setup
import os
def find (p, d):
ret = []
for b, dd, ff in os.walk(os.path.join(p, d)):
for f in ff:
if not f.startswith("."):
fp = os.path.join(b, f)
ret.append(os.path.relpath(fp, p))
ret.sort()
# for x in ret[:10]:
# print "**", x
return ret
setuptools.setup(
2021-12-06 17:34:16 +01:00
name='pppadump',
2021-12-06 18:16:35 +01:00
version='0.0.0',
author='Le Club des Sans Sujets',
author_email='n/a',
2021-12-06 17:34:16 +01:00
packages=['pppadump', 'pppadump.commands'],
package_dir={'pppadump': 'pppadump'},
#package_data={'activearchives': find("activearchives", "templates/") + find("activearchives", "data/")},
2021-12-06 17:34:16 +01:00
package_data={'pppadump': find("pppadump", "data/")},
scripts=['bin/pppadump'],
2021-12-06 18:16:35 +01:00
url='https://le-club-des-sans-sujets.org',
license='LICENSE.txt',
2021-12-06 18:16:35 +01:00
description='pppadump an etherpad publishing & archiving system based on constant\'s etherdump and varia\'s etherpump',
# long_description=open('README.md').read(),
install_requires=[
"html5lib", "jinja2", "python-dateutil", "requests"
]
)