Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a0b35dfadb | ||
![]() |
8fabdf8b72 | ||
![]() |
73978ffeb7 |
4 changed files with 9 additions and 14 deletions
|
@ -1,4 +1,10 @@
|
|||
|
||||
0.1.2
|
||||
-----
|
||||
|
||||
* Allow config file to prevent logging configuration from happening.
|
||||
|
||||
|
||||
0.1.1
|
||||
-----
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = '0.1.1'
|
||||
__version__ = '0.1.2'
|
||||
|
|
|
@ -89,7 +89,8 @@ def init(appname='edbob', *args, **kwargs):
|
|||
shell = kwargs.get('shell', False)
|
||||
for paths in config_paths:
|
||||
config.read(paths, recurse=not shell)
|
||||
config.configure_logging()
|
||||
if config.getboolean('edbob', 'configure_logging', default=True):
|
||||
config.configure_logging()
|
||||
|
||||
default_modules = 'edbob.time'
|
||||
modules = config.get('edbob', 'init', default=default_modules)
|
||||
|
|
12
fabfile.py
vendored
12
fabfile.py
vendored
|
@ -22,27 +22,15 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
import os.path
|
||||
import shutil
|
||||
|
||||
from fabric.api import *
|
||||
|
||||
|
||||
execfile(os.path.join(os.path.dirname(__file__), 'edbob', '_version.py'))
|
||||
|
||||
|
||||
@task
|
||||
def release():
|
||||
"""
|
||||
Release a new version of 'edbob'.
|
||||
"""
|
||||
|
||||
shutil.rmtree('edbob.egg-info')
|
||||
local('python setup.py sdist --formats=gztar register upload')
|
||||
|
||||
filename = 'edbob-{0}.tar.gz'.format(__version__)
|
||||
|
||||
put(os.path.join('dist', filename), '/srv/pypi/{0}'.format(filename))
|
||||
with cd('/srv/pypi'):
|
||||
run('rm --recursive --force simple')
|
||||
run('compoze index')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue