Browse Source

PIP seems to be kinda working now

master
Pete Shadbolt 8 years ago
parent
commit
85d6c262d9
27 changed files with 4 additions and 8 deletions
  1. +0
    -0
      abp/static/__init__.py
  2. +0
    -0
      abp/static/img/ball.png
  3. +0
    -0
      abp/static/img/ball.svg
  4. +0
    -0
      abp/static/img/make_figs.sh
  5. +0
    -0
      abp/static/img/tip.png
  6. +0
    -0
      abp/static/img/tip.svg
  7. +0
    -0
      abp/static/index.html
  8. +0
    -0
      abp/static/main.css
  9. +0
    -0
      abp/static/scripts/.gitignore
  10. +0
    -0
      abp/static/scripts/anders_briegel.js
  11. +0
    -0
      abp/static/scripts/editor.js
  12. +0
    -0
      abp/static/scripts/graph.js
  13. +0
    -0
      abp/static/scripts/gui.js
  14. +0
    -0
      abp/static/scripts/interaction.js
  15. +0
    -0
      abp/static/scripts/main.js
  16. +0
    -0
      abp/static/scripts/materials.js
  17. +0
    -0
      abp/static/scripts/message.js
  18. +0
    -0
      abp/static/scripts/mouse.js
  19. +0
    -0
      abp/static/scripts/orbitcontrols.js
  20. +0
    -0
      abp/static/scripts/tables.js
  21. +0
    -0
      abp/static/scripts/tests.js
  22. +0
    -0
      abp/static/scripts/three.js
  23. +0
    -0
      abp/static/scripts/websocket.js
  24. +0
    -0
      abp/static/test.html
  25. +2
    -1
      bin/abpserver
  26. +2
    -5
      setup.py
  27. +0
    -2
      static/scripts/.agignore

static/scripts/message.js → abp/static/__init__.py View File


static/img/ball.png → abp/static/img/ball.png View File


static/img/ball.svg → abp/static/img/ball.svg View File


static/img/make_figs.sh → abp/static/img/make_figs.sh View File


static/img/tip.png → abp/static/img/tip.png View File


static/img/tip.svg → abp/static/img/tip.svg View File


static/index.html → abp/static/index.html View File


static/main.css → abp/static/main.css View File


static/scripts/.gitignore → abp/static/scripts/.gitignore View File


static/scripts/anders_briegel.js → abp/static/scripts/anders_briegel.js View File


static/scripts/editor.js → abp/static/scripts/editor.js View File


static/scripts/graph.js → abp/static/scripts/graph.js View File


static/scripts/gui.js → abp/static/scripts/gui.js View File


static/scripts/interaction.js → abp/static/scripts/interaction.js View File


static/scripts/main.js → abp/static/scripts/main.js View File


static/scripts/materials.js → abp/static/scripts/materials.js View File


+ 0
- 0
abp/static/scripts/message.js View File


static/scripts/mouse.js → abp/static/scripts/mouse.js View File


static/scripts/orbitcontrols.js → abp/static/scripts/orbitcontrols.js View File


static/scripts/tables.js → abp/static/scripts/tables.js View File


static/scripts/tests.js → abp/static/scripts/tests.js View File


static/scripts/three.js → abp/static/scripts/three.js View File


static/scripts/websocket.js → abp/static/scripts/websocket.js View File


static/test.html → abp/static/test.html View File


+ 2
- 1
bin/abpserver View File

@@ -7,6 +7,7 @@ import os, sys, threading
import webbrowser
import argparse
import abp
from pkg_resources import resource_filename

clients = []

@@ -32,7 +33,7 @@ if __name__ == '__main__':
args = parser.parse_args()

# Change to the right working dir
where = os.path.join(os.path.dirname(abp.__path__[0]), "static")
where = os.path.abspath(resource_filename("abp.static", ""))
os.chdir(where)

# Start the HTTP server


+ 2
- 5
setup.py View File

@@ -2,14 +2,11 @@ from setuptools import setup, find_packages
from glob import glob
from os import path

APPNAME = "abp"
STATIC = glob("static/*.*")+glob("static/img/*.*")+glob("static/scripts/*.*")
appdata = path.expanduser(path.join("~", "." + APPNAME))
print appdata

setup(
name = "abp",
version = "0.4",
version = "0.4.1",
packages = find_packages(),
test_suite = "tests",
author = "Pete Shadbolt",
@@ -20,5 +17,5 @@ setup(
setup_requires = ["numpy"],
scripts = ["bin/abpserver"],
install_requires = ["numpy", "networkx", "tqdm", "websocket-client", "websocket-server"],
data_files = [("static", STATIC)]
package_data = {"abp.static": STATIC}
)

+ 0
- 2
static/scripts/.agignore View File

@@ -1,2 +0,0 @@
three.js
orbitcontrols.js

Loading…
Cancel
Save