Clean up setuptools file
This commit is contained in:
parent
a2658a01df
commit
889987cdc9
15
setup.py
15
setup.py
@ -1,21 +1,20 @@
|
||||
#!/usr/bin/env python3
|
||||
import distutils.command.install_lib
|
||||
|
||||
from distutils.core import setup
|
||||
import os
|
||||
|
||||
def find (p, d):
|
||||
|
||||
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',
|
||||
@ -23,14 +22,10 @@ setup(
|
||||
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"
|
||||
]
|
||||
install_requires=["html5lib", "jinja2"]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user