summaryrefslogtreecommitdiff
path: root/www/setup.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-06 09:25:46 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-06 09:25:46 -0400
commitb047beb3e50a541564d2ab6ff17491608a630101 (patch)
tree28acf5d079d30748a054c9af67cf72c29c4f7024 /www/setup.py
parent01005b92a78aedfe80dcf24644dd361d10ac4113 (diff)
[pkg] package bitmask_www
Diffstat (limited to 'www/setup.py')
-rw-r--r--www/setup.py18
1 files changed, 15 insertions, 3 deletions
diff --git a/www/setup.py b/www/setup.py
index 860d0aa..b5473d1 100644
--- a/www/setup.py
+++ b/www/setup.py
@@ -15,19 +15,26 @@
#
# 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
+
+# TODO add all the node steps in this setup too.
+# Right now it's expected that you run the node commands by hand
+# i.e., 'make build'
+
now = datetime.datetime.now()
timestamp = time.strftime('%Y%m%d', now.timetuple())
setup(
- name='leap.bitmask-www',
+ name='leap.bitmask_www',
version='0.1.%s' % timestamp,
description='Bitmask html/js UI',
long_description=open('notes-python.txt').read(),
@@ -35,8 +42,13 @@ setup(
author_email='info@leap.se',
url='http://leap.se',
namespace_packages=['leap'],
- packages=['leap.bitmask-www'],
+ packages=['leap.bitmask_www'],
package_data={
- '': ['public/*', ]
+ '': ['public/*',
+ 'public/css/*',
+ 'public/fonts/*',
+ 'public/img/*',
+ 'publlic/js/*',
+ ]
}
)