-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working on #23: moved requirements into setup.py; remove pip dependency
pip removed all APIs in version 10 so pip.download and pip.main are not allowed. It's impractical to support pykern being installed automatically so packages will have to install pykern before they run setup.py if they refer to pykern in setup.py (e.g. using pksetup). For RadiaSoft, this isn't a problem, because we install from known environments setup by our curl installers (usually inside vagrant or docker). For others, it's a design flaw that you can't use a library in setup.py that is not in base python. To get projex_test.py to work with tox, added some code inside pksetup.py that supports looking for the right python version. Removed extras_require, because I don't think that's necessary any more to build jupyterhub.
- Loading branch information
robnagler
committed
May 19, 2018
1 parent
01f0199
commit c41c95d
Showing
7 changed files
with
50 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# -*- coding: utf-8 -*- | ||
"""Install PyKern | ||
:copyright: Copyright (c) 2015 RadiaSoft LLC. All Rights Reserved. | ||
:copyright: Copyright (c) 2015-2018 RadiaSoft LLC. All Rights Reserved. | ||
:license: http://www.apache.org/licenses/LICENSE-2.0.html | ||
""" | ||
from pykern.pksetup import setup | ||
|
@@ -11,22 +11,30 @@ | |
description='Python application support', | ||
author='RadiaSoft LLC', | ||
author_email='[email protected]', | ||
install_requires=[ | ||
'argh>=0.26', | ||
'future>=0.14', | ||
'github3.py>=1.1', | ||
'jinja2>=2.7', | ||
'py-cpuinfo>=0.2', | ||
'py>=1.4', | ||
# capsys may not be working right in 3.3 | ||
'pytest>=2.7,<=3.2.3', | ||
'pytest-forked>=0.2', | ||
'pytz>=2015.4', | ||
'pyyaml>=3.0', | ||
'requests>=2.7', | ||
'requirements-parser>=0.2.0', | ||
'setuptools>=20.3', | ||
'six>=1.9', | ||
'sphinx>=1.3.5', | ||
'twine>=1.9', | ||
'tox>=1.9', | ||
'path.py>=7.7.1', | ||
'python-dateutil>=2.4.2', | ||
], | ||
license='http://www.apache.org/licenses/LICENSE-2.0.html', | ||
url='http://pykern.org', | ||
extras_require={ | ||
'jupyterhub': [ | ||
# Really want git versions, but this fmt is invalid: | ||
# git+git://github.com/jupyterhub/jupyterhub | ||
# git+git://github.com/jupyterhub/dockerspawner | ||
# git+git://github.com/jupyterhub/oauthenticator | ||
'jupyterhub', | ||
'dockerspawner', | ||
'oauthenticator', | ||
], | ||
}, | ||
# entry_points={ | ||
# 'pytest11': ['pykern = pykern.pytest_plugin'], | ||
# }, | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Environment :: Console', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters