Browse Source

Clean up setuptools file

pull/8/head
Luke Murphy 5 years ago
parent
commit
889987cdc9
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 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…
Cancel
Save