forked from OpenLegalTech/django-legal-advice-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 777 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import re
from setuptools import find_packages
from setuptools import setup
# get metadata from mudule using a regexp
with open('legal_advice_builder/__init__.py') as f:
metadata = dict(re.findall(r'__(.*)__ = [\']([^\']*)[\']', f.read()))
setup(
name=metadata['title'],
version=metadata['version'],
author=metadata['author'],
author_email=metadata['email'],
maintainer=metadata['author'],
maintainer_email=metadata['email'],
license=metadata['license'],
url='https://github.com/OpenLegalTech',
install_requires=[
'Django',
'django-treebeard',
'WeasyPrint',
'Markdown',
'bleach',
'django-tinymce',
'htmldocx'
],
packages=find_packages(),
include_package_data=True
)