forked from mailpile/Mailpile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·46 lines (40 loc) · 1.21 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python2
from datetime import date
from setuptools import setup, find_packages
from mailpile.app import APPVER
import os
from glob import glob
try:
# This borks sdist.
os.remove('.SELF')
except:
pass
data_files = []
# Copy static UI files
for dir, dirs, files in os.walk('static'):
data_files.append((dir, [os.path.join(dir, file_) for file_ in files]))
# Copy translation files
for dir, dirs, files in os.walk('locale'):
data_files.append((dir, [os.path.join(dir, file_) for file_ in files]))
setup(
name="mailpile",
version=APPVER.replace('github',
'dev'+date.today().isoformat().replace('-', '')),
license="AGPLv3+",
author="Bjarni R. Einarsson",
author_email="[email protected]",
url="http://www.mailpile.is/",
description="""\
Mailpile is a personal tool for searching and indexing e-mail.""",
long_description="""\
Mailpile is a tool for building and maintaining a tagging search
engine for a personal collection of e-mail. It can be used as a
simple web-mail client.
""",
packages=find_packages(),
data_files=data_files,
entry_points={
'console_scripts': [
'mailpile = mailpile.__main__:main'
]},
)