Pumping pads as files into publishing frameworks!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

36 lines
1.0 KiB

#!/usr/bin/env python3
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
setup(
name='etherpump',
version='0.0.1',
author='Varia members',
author_email='info@varia.zone',
packages=['etherpump', 'etherpump.commands'],
package_dir={'etherpump': 'etherpump'},
#package_data={'activearchives': find("activearchives", "templates/") + find("activearchives", "data/")},
package_data={'etherpump': find("etherpump", "data/")},
scripts=['bin/etherpump'],
url='https://git.vvvvvvaria.org/varia/etherpump',
license='LICENSE.txt',
description='Etherpump an etherpad publishing system',
# long_description=open('README.md').read(),
install_requires=[
"html5lib", "jinja2"
]
)