diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-01 02:01:46 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-01 03:03:34 -0400 |
commit | 107eb8788347f564e43877267207d0c84462e2cf (patch) | |
tree | 15863e3bafc6d05f2eb0e40b08038302895ef8fe /www/setup.py | |
parent | 4728855b40d2d37da8e035c5081fab5819b07fd0 (diff) |
[pkg] package pre-compiled www data in a python module
Diffstat (limited to 'www/setup.py')
-rw-r--r-- | www/setup.py | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/www/setup.py b/www/setup.py new file mode 100644 index 0000000..860d0aa --- /dev/null +++ b/www/setup.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# setup.py +# Copyright (C) 2016 LEAP Encryption Acess Project +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +""" +Setup file for leap.bitmask-www +""" +from setuptools import setup + +import datetime +import time + +now = datetime.datetime.now() +timestamp = time.strftime('%Y%m%d', now.timetuple()) + +setup( + name='leap.bitmask-www', + version='0.1.%s' % timestamp, + description='Bitmask html/js UI', + long_description=open('notes-python.txt').read(), + author='LEAP Encrypted Access Project', + author_email='info@leap.se', + url='http://leap.se', + namespace_packages=['leap'], + packages=['leap.bitmask-www'], + package_data={ + '': ['public/*', ] + } +) |