Skip to content

Commit b821133

Browse files
committed
Fixed HTTP server
1 parent 1597373 commit b821133

2 files changed

Lines changed: 12 additions & 21 deletions

File tree

algorithmx/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version_info = (1, 0, 0, 'beta', 2)
1+
version_info = (1, 0, 0, 'beta', 3)
22
__version__ = '.'.join(map(str, version_info))

setup.py

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
#!/usr/bin/env python
2-
# coding: utf-8
3-
4-
# Copyright (c) Jupyter Development Team.
5-
# Distributed under the terms of the Modified BSD License.
6-
71
from __future__ import print_function
82
from glob import glob
93
from os.path import join as pjoin
104

11-
125
from setupbase import (
136
create_cmdclass, install_npm, ensure_targets,
147
find_packages, combine_commands, ensure_python,
@@ -17,24 +10,23 @@
1710

1811
from setuptools import setup
1912

20-
21-
# The name of the project
13+
# the name of the project
2214
name = 'algorithmx'
2315

24-
# Load description
16+
# load description
2517
with open('README.md', 'r') as fh:
26-
long_description = fh.read()
18+
long_description = fh.read()
2719

28-
# Ensure a valid python version
20+
# ensure a valid python version
2921
ensure_python('>=3.6')
3022

31-
# Get our version
23+
# get our version
3224
version = get_version(pjoin(name, '_version.py'))
3325

3426
nb_path = pjoin(HERE, name, 'nbextension', 'static')
3527
lab_path = pjoin(HERE, name, 'labextension')
3628

37-
# Representative files that should exist after a successful build
29+
# representative files that should exist after a successful build
3830
jstargets = [
3931
pjoin(nb_path, 'index.js'),
4032
pjoin(HERE, 'lib', 'plugin.js'),
@@ -43,18 +35,17 @@
4335
package_data_spec = {
4436
name: [
4537
'nbextension/static/*.*js*',
46-
'labextension/*.tgz'
38+
'labextension/*.tgz',
39+
'server/*.html'
4740
]
4841
}
4942

5043
data_files_spec = [
51-
('share/jupyter/nbextensions/algorithmx-jupyter',
52-
nb_path, '*.js*'),
44+
('share/jupyter/nbextensions/algorithmx-jupyter', nb_path, '*.js*'),
5345
('share/jupyter/lab/extensions', lab_path, '*.tgz'),
54-
('etc/jupyter/nbconfig/notebook.d' , HERE, 'algorithmx-jupyter.json')
46+
('etc/jupyter/nbconfig/notebook.d', HERE, 'algorithmx-jupyter.json')
5547
]
5648

57-
5849
cmdclass = create_cmdclass('jsdeps', package_data_spec=package_data_spec, data_files_spec=data_files_spec)
5950

6051
cmdclass['jsdeps'] = combine_commands(
@@ -80,7 +71,7 @@
8071
classifiers = [
8172
'Intended Audience :: Developers',
8273
'Intended Audience :: Science/Research',
83-
'License :: OSI Approved :: BSD License',
74+
'License :: OSI Approved :: MIT License',
8475
'Programming Language :: Python',
8576
'Programming Language :: Python :: 3',
8677
'Programming Language :: Python :: 3.6',

0 commit comments

Comments
 (0)