version
This commit is contained in:
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
|||||||
# This file has been auto-generated.
|
# This file has been auto-generated.
|
||||||
# All changes will be lost, see Projectfile.
|
# All changes will be lost, see Projectfile.
|
||||||
#
|
#
|
||||||
# Updated at 2016-12-29 17:04:15.403353
|
# Updated at 2016-12-29 17:33:45.585172
|
||||||
|
|
||||||
PYTHON ?= $(shell which python)
|
PYTHON ?= $(shell which python)
|
||||||
PYTHON_BASENAME ?= $(shell basename $(PYTHON))
|
PYTHON_BASENAME ?= $(shell basename $(PYTHON))
|
||||||
@ -41,7 +41,7 @@ clean:
|
|||||||
# Setup the local virtualenv, or use the one provided by the current environment.
|
# Setup the local virtualenv, or use the one provided by the current environment.
|
||||||
$(VIRTUAL_ENV):
|
$(VIRTUAL_ENV):
|
||||||
virtualenv -p $(PYTHON) $(VIRTUAL_ENV)
|
virtualenv -p $(PYTHON) $(VIRTUAL_ENV)
|
||||||
$(PIP) install -U pip\>=8.1.2,\<9 wheel\>=0.29,\<1.0
|
$(PIP) install -U pip\>=9,\<10 wheel\>=0.29,\<1.0
|
||||||
ln -fs $(VIRTUAL_ENV)/bin/activate activate-$(PYTHON_BASENAME)
|
ln -fs $(VIRTUAL_ENV)/bin/activate activate-$(PYTHON_BASENAME)
|
||||||
|
|
||||||
lint: install-dev
|
lint: install-dev
|
||||||
|
|||||||
@ -42,8 +42,7 @@ author = 'Romain Dorgueil'
|
|||||||
# The version info for the project you're documenting, acts as replacement for
|
# The version info for the project you're documenting, acts as replacement for
|
||||||
# |version| and |release|, also used in various other places throughout the
|
# |version| and |release|, also used in various other places throughout the
|
||||||
# built documents.
|
# built documents.
|
||||||
version = bonobo.__version__
|
version = release = bonobo.__version__
|
||||||
release = bonobo.__version__
|
|
||||||
|
|
||||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||||
# for a list of supported languages.
|
# for a list of supported languages.
|
||||||
|
|||||||
32
setup.py
32
setup.py
@ -8,23 +8,19 @@ root_dir = os.path.dirname(os.path.abspath(__file__))
|
|||||||
|
|
||||||
tolines = lambda c: list(filter(None, map(lambda s: s.strip(), c.split('\n'))))
|
tolines = lambda c: list(filter(None, map(lambda s: s.strip(), c.split('\n'))))
|
||||||
|
|
||||||
|
|
||||||
def read(filename, flt=None):
|
def read(filename, flt=None):
|
||||||
with open(filename) as f:
|
with open(filename) as f:
|
||||||
content = f.read().strip()
|
content = f.read().strip()
|
||||||
return flt(content) if callable(flt) else content
|
return flt(content) if callable(flt) else content
|
||||||
|
|
||||||
|
|
||||||
# Py3 compatibility hacks, borrowed from IPython.
|
# Py3 compatibility hacks, borrowed from IPython.
|
||||||
try:
|
try:
|
||||||
execfile
|
execfile
|
||||||
except NameError:
|
except NameError:
|
||||||
|
|
||||||
def execfile(fname, globs, locs=None):
|
def execfile(fname, globs, locs=None):
|
||||||
locs = locs or globs
|
locs = locs or globs
|
||||||
exec(compile(open(fname).read(), fname, "exec"), globs, locs)
|
exec(compile(open(fname).read(), fname, "exec"), globs, locs)
|
||||||
|
|
||||||
|
|
||||||
version_ns = {}
|
version_ns = {}
|
||||||
execfile(os.path.join(root_dir, 'bonobo/_version.py'), version_ns)
|
execfile(os.path.join(root_dir, 'bonobo/_version.py'), version_ns)
|
||||||
version = version_ns.get('__version__', 'dev')
|
version = version_ns.get('__version__', 'dev')
|
||||||
@ -39,16 +35,20 @@ setup(
|
|||||||
classifiers = read('classifiers.txt', tolines),
|
classifiers = read('classifiers.txt', tolines),
|
||||||
packages = find_packages(exclude=['ez_setup', 'example', 'test']),
|
packages = find_packages(exclude=['ez_setup', 'example', 'test']),
|
||||||
include_package_data = True,
|
include_package_data = True,
|
||||||
data_files=[('share/jupyter/nbextensions/bonobo-jupyter', [
|
data_files = [('share/jupyter/nbextensions/bonobo-jupyter',
|
||||||
'bonobo/ext/jupyter/static/extension.js', 'bonobo/ext/jupyter/static/index.js',
|
['bonobo/ext/jupyter/static/extension.js',
|
||||||
'bonobo/ext/jupyter/static/index.js.map'
|
'bonobo/ext/jupyter/static/index.js',
|
||||||
])],
|
'bonobo/ext/jupyter/static/index.js.map'])],
|
||||||
extras_require={
|
extras_require = {'dev': ['coverage >=4.2,<4.3',
|
||||||
'dev': [
|
'mock >=2.0,<2.1',
|
||||||
'coverage >=4.2,<4.3', 'mock >=2.0,<2.1', 'nose >=1.3,<1.4', 'pylint >=1.6,<1.7', 'pytest >=3,<4',
|
'nose >=1.3,<1.4',
|
||||||
'pytest-cov >=2.4,<2.5', 'sphinx', 'sphinx_rtd_theme', 'yapf'
|
'pylint >=1.6,<1.7',
|
||||||
],
|
'pytest >=3,<4',
|
||||||
'jupyter': ['jupyter >=1.0,<1.1', 'ipywidgets >=6.0.0.beta5']
|
'pytest-cov >=2.4,<2.5',
|
||||||
},
|
'sphinx',
|
||||||
|
'sphinx_rtd_theme',
|
||||||
|
'yapf'],
|
||||||
|
'jupyter': ['jupyter >=1.0,<1.1', 'ipywidgets >=6.0.0.beta5']},
|
||||||
url = 'https://bonobo-project.org/',
|
url = 'https://bonobo-project.org/',
|
||||||
download_url='https://github.com/python-bonobo/bonobo/tarball/{version}'.format(version=version), )
|
download_url = 'https://github.com/python-bonobo/bonobo/tarball/{version}'.format(version=version),
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user