pre-commit-ci[bot]
c8d3dbb7b1
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2021-09-27 19:45:58 +00:00
Erik Sundell
d6c48b15fe
pyupgrade: run pyupgrade --py36-plus and black on all but tests
2021-08-26 16:23:38 +02:00
Min RK
6082c1965a
remove use of deprecated distutils
...
distutils is slated for deprecation in the stdlib
we can use packaging for version parsing and setuptools in setup.py
packaging is technically an extra dependency, but rarely missing because it's so widespread
2021-08-03 12:22:31 +02:00
YuviPanda
665f9fa693
Drop Python 3.5 support
...
See https://github.com/jupyterhub/jupyterhub/pull/3176#issuecomment-694315759
For Travis, I push the version cascade down one step.
Should preserve our test coverage while conserving test
duration
2020-11-17 15:39:55 +05:30
Steffen Vogel
e93cc83d58
remove unused imports
2020-04-16 12:12:22 +02:00
Bruno P. Kinoshita
bc32450005
Fix header project name typo
2019-10-12 13:54:01 +13:00
Min RK
2f99104f57
a couple fixups after autoformatting
2019-02-19 17:04:37 +01:00
Min RK
5e60582ef3
run autoformat
...
apologies to anyone finding this commit via git blame or log
run the autoformatting by
pre-commit run --all-files
2019-02-19 17:00:10 +01:00
Alejandro del Castillo
b1759c8882
setup.py: add automatic script generation
...
Use setuptools console_scripts functionality to create top level jupyter
& jupyterhub-single user entry point scripts on *nix, and executables on
Windows.
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com >
2018-11-15 09:53:29 -06:00
Min RK
575af23e23
register simplespawner in setup.py
2018-11-05 10:57:10 +01:00
Min RK
abd3bc13d2
add entrypoint for proxy implementations
2018-10-11 16:54:25 +02:00
Min RK
c02ab23b3d
allow spawners and authenticators to register via entrypoints
...
jupyterhub.authenticators for authenticators, jupyterhub.spawners for spawners
This has the effect that authenticators and spawners can be selected by name instead of full import string (e.g. 'github' or 'dummy' or 'kubernetes')
and, perhaps more importantly, the autogenerated configuration file will include a section for each installed and registered class.
2018-09-28 10:08:10 +02:00
Carol Willing
376aa13981
correct link
2018-06-13 14:37:27 -07:00
Carol Willing
4bc8b48763
add info to display at pypi site
2018-06-13 14:35:23 -07:00
Min RK
58d602e549
require Python 3.5 for async/await syntax
2018-03-12 18:18:46 +01:00
Min RK
4201c8a6f3
missing share_jupyterhub
2018-02-28 15:41:58 +01:00
Min RK
8695823165
move static resources to share/jupyterhub
...
from share/jupyter/hub
to be consistent with use of etc/jupyterhub etc.
2018-02-28 15:41:58 +01:00
Min RK
5ffb5763a5
setup.py: run npm with --unsafe-perm
...
this is the equivalent to bower's `--allow-root` that we had in bower-proper
fixes issues when installing jupyterhub from source with sudo
2017-11-13 11:09:25 +01:00
Min RK
5826035fe9
node when css building starts
2017-11-07 12:59:57 +01:00
Min RK
8a95066b2e
run lessc via npm
2017-11-07 11:39:53 +01:00
Min RK
00a4aef607
remove bower
...
use npm to fetch dependencies and a simple postinstall script to copy into components
2017-11-07 11:38:47 +01:00
Min RK
5a8011ea66
Require Python 3.4
...
Specify Requires-Python (PEP345) metadata
2017-07-20 13:49:34 +02:00
Carol Willing
d34f6e779d
Bump Python support to 3.4 and up
2017-07-19 14:57:52 -07:00
Hirschfeld
4f27a18616
Pass shell=True
to check_call
on Windows
2017-07-18 12:15:33 +10:00
Hirschfeld
13eda34676
Used os.pathsep to join paths
2017-07-13 22:19:37 +10:00
Hirschfeld
874ed0c450
Passed shell argument to check_call instead of calling cmd.exe directly
2017-07-13 22:15:19 +10:00
Hirschfeld
f25ec3c3f0
Minor fixes to get setup.py to work on Windows
2017-07-13 16:47:26 +10:00
Min RK
530f499ce1
_version.py is private
2017-06-28 21:55:15 +01:00
Carol Willing
91553ebe34
Add word to docstring to improve comprehension
2017-03-05 13:15:58 -08:00
Min RK
85ca5a052e
add alembic.ini to package_data
2016-11-22 16:21:03 +01:00
Carol Willing
d4646e1caa
Update link
2016-09-28 20:54:57 -07:00
Min RK
9aa4046093
always install with setuptools
...
but not eggs (effectively require pip install .)
2016-09-05 15:46:20 +02:00
Min RK
b8a6ac62e8
include alembic in package_data
2016-05-26 14:23:10 +02:00
Min RK
b11a5be781
disable npm progress when installing
...
apparently faster, but should also fix unicode errors
2016-04-08 16:35:23 -07:00
Min RK
6c072bdb3d
nonempty long_description
...
avoids dumping README.md garbage onto PyPI
2016-02-01 11:05:58 +01:00
Min RK
5100dd29c2
note when installing with npm
2015-03-14 14:32:31 -06:00
Min RK
cfce35c0c6
don't need to walk npm bin dirs
...
use node_modules/.bin
2015-03-05 10:21:42 -08:00
Min RK
058b7c68c9
install js dependencies with npm
...
add package.json
- devDependencies (less, bower) installed locally
- dependencies installed globally (configurable-http-proxy)
2015-03-04 16:55:29 -08:00
Min RK
74fb2e6a05
Merge pull request #163 from minrk/clean-css
...
use `lessc --clean-css`
2015-03-04 15:44:59 -08:00
Min RK
059d081a79
prepare for sdist
...
- trigger js/css before sdist (always)
- trigger js/css before build_py (part of wheel, install) iff installing from repo
should avoid running js, css from sdist
2015-03-04 15:21:51 -08:00
Min RK
506e0e569c
use lessc --clean-css
...
instead of deprecated `lessc -x`
2015-03-04 14:40:37 -08:00
Min RK
d125abbffe
move static files to share/jupyter/hub
...
avoids conflict with other jupyter projects
2014-12-23 20:31:59 -08:00
Min RK
61e4cdbecf
fix check for url lines when building requirements from requirements.txt
2014-11-29 20:50:25 -08:00
Min RK
0562e0491b
Jupyter has a mailing list
2014-11-25 11:02:27 -08:00
Min RK
ab6d67f0c9
don't add -e
requirements in setup.py
...
They don't work properly, so don't try.
This means that until IPython 3 is released,
`pip install -e .` will be insufficient.
IPython will need to be installed separately.
2014-11-08 21:00:24 -08:00
Min RK
40a99e61ac
drop support for old Python, IPython < 3
...
Require IPython >= 3.0, Python >= 3.3
2014-11-02 15:51:06 -08:00
Min RK
83569221b9
s/bower/js/
2014-10-31 16:23:19 -07:00
MinRK
cfd884459f
clarify some installation in README
2014-10-21 20:04:12 -07:00
MinRK
ae7232f22c
better message on OSError due to missing bower/less
2014-10-17 13:52:48 -07:00
MinRK
3b6dc5a8ae
install subpackages
2014-09-14 11:23:03 -07:00