summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/__init__.py5
-rw-r--r--www/notes-python.txt7
-rw-r--r--www/setup.py42
3 files changed, 49 insertions, 5 deletions
diff --git a/www/__init__.py b/www/__init__.py
deleted file mode 100644
index d407605..0000000
--- a/www/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-try:
- __import__('pkg_resources').declare_namespace(__name__)
-except ImportError:
- from pkgutil import extend_path
- __path__ = extend_path(__path__, __name__)
diff --git a/www/notes-python.txt b/www/notes-python.txt
new file mode 100644
index 0000000..d454558
--- /dev/null
+++ b/www/notes-python.txt
@@ -0,0 +1,7 @@
+<EDIT-ME: This is the python description for the package>
+
+leap.bitmask-www: this package contains the already compiled static element for
+the web-ui of bitmask.
+
+If you want to develop for this UI, please checkout the <bitmask-dev> repo and
+follow the instructions in the www/README.md file.
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/*', ]
+ }
+)