From 107eb8788347f564e43877267207d0c84462e2cf Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Thu, 1 Sep 2016 02:01:46 -0400 Subject: [pkg] package pre-compiled www data in a python module --- www/setup.py | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 www/setup.py (limited to 'www/setup.py') 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 . +""" +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/*', ] + } +) -- cgit v1.2.3