Skip to content

Commit

Permalink
Packaging is dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
William Strecker-Kellogg committed Apr 13, 2021
1 parent 9c43f8d commit 820600b
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ jupyterhub.sqlite
jupyterhub_cookie_secret
jupyterhub-proxy.pid
__pycache__
*.egg-info
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include README.md

graft conf
graft cron
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
wrapspawner
batchspawner
jupyterhub
jhub_remote_user_authenticator
File renamed without changes.
File renamed without changes.
File renamed without changes.
51 changes: 51 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
#!/usr/bin/env python
# -----------------------------------------------------------------------------
# Minimal Python VERSION sanity check (from IPython/Jupyterhub)
# -----------------------------------------------------------------------------

from __future__ import print_function

import sys

from distutils.core import setup


VERSION = '0.2.0'

install_requires = []
with open('requirements.txt') as f:
for line in f.readlines():
req = line.strip()
if not req or req.startswith(('-e', '#')):
continue
install_requires.append(req)


def main():
setup(
name = 'sdccjupyter',
packages = ['sdccjupyter'],
package_data = {'sdccjupyter': ['conf/*.cfg', 'cron/*']},
include_package_data = True,
version = VERSION,
description = """SDCC Jupyter Spawners""",
long_description = "",
author = "William Strecker-Kellogg",
author_email = "[email protected]",
url = "https://www.sdcc.bnl.gov",
license = "BSD",
install_requires = install_requires,
platforms = "Linux, Mac OS X",
keywords = ['Interactive', 'Shell', 'Web', 'Jupyter'],
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
)

if __name__ == '__main__':
main()

0 comments on commit 820600b

Please sign in to comment.