|
13 | 13 | import os |
14 | 14 | import sys |
15 | 15 |
|
16 | | -from distutils.core import setup |
| 16 | +from setuptools import setup |
17 | 17 |
|
18 | 18 | pjoin = os.path.join |
19 | 19 | here = os.path.abspath(os.path.dirname(__file__)) |
|
23 | 23 | with open(pjoin(here, 'version.py')) as f: |
24 | 24 | exec(f.read(), {}, version_ns) |
25 | 25 |
|
| 26 | +with open(pjoin(here, 'README.md'), encoding='utf-8') as f: |
| 27 | + long_desc = f.read() |
| 28 | + |
26 | 29 | setup_args = dict( |
27 | 30 | name = 'batchspawner', |
28 | 31 | packages = ['batchspawner'], |
29 | 32 | version = version_ns['__version__'], |
30 | 33 | description = """Batchspawner: A spawner for Jupyterhub to spawn notebooks using batch resource managers.""", |
31 | | - long_description = "", |
| 34 | + long_description = long_desc, |
| 35 | + long_description_content_type = 'text/markdown', |
32 | 36 | author = "Michael Milligan, Andrea Zonca, Mike Gilbert", |
33 | 37 | author_email = "milligan@umn.edu, m code@andreazonca.com, mike@nau.edu", |
34 | 38 | url = "http://jupyter.org", |
35 | 39 | license = "BSD", |
36 | 40 | platforms = "Linux, Mac OS X", |
37 | | - keywords = ['Interactive', 'Interpreter', 'Shell', 'Web'], |
| 41 | + python_requires = '~=3.3', |
| 42 | + keywords = ['Interactive', 'Interpreter', 'Shell', 'Web', 'Jupyter'], |
38 | 43 | classifiers = [ |
39 | 44 | 'Intended Audience :: Developers', |
40 | 45 | 'Intended Audience :: System Administrators', |
|
43 | 48 | 'Programming Language :: Python', |
44 | 49 | 'Programming Language :: Python :: 3', |
45 | 50 | ], |
| 51 | + project_urls = { |
| 52 | + 'Bug Reports': 'https://github.com/jupyterhub/batchspawner/issues', |
| 53 | + 'Source': 'https://github.com/jupyterhub/batchspawner/', |
| 54 | + 'About Jupyterhub': 'http://jupyterhub.readthedocs.io/en/latest/', |
| 55 | + 'Jupyter Project': 'http://jupyter.org', |
| 56 | + } |
46 | 57 | ) |
47 | 58 |
|
48 | 59 | # setuptools requirements |
|
0 commit comments