Skip to content

Commit

Permalink
Merge cookiecutter template customisations into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gnn committed Nov 27, 2018
2 parents dc8b0ca + 5d3f90d commit d8a0a40
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ include README.rst

include tox.ini .travis.yml appveyor.yml

global-exclude *.py[cod] __pycache__ *.so *.dylib
global-exclude *.py[cod] __pycache__ *.so *.dylib *.swp
3 changes: 2 additions & 1 deletion ci/appveyor-bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@

def download_file(url, path):
print("Downloading: {} (into {})".format(url, path))
progress = [0, 0]

def report(count, size, total, progress=[0, 0]):
def report(count, size, total):
progress[0] = count * size
if progress[0] - progress[1] > 1000000:
progress[1] = progress[0]
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ addopts =
--tb=short

[isort]
force_single_line = True
force_single_line = False
line_length = 79
known_first_party = oemof.tabular
default_section = THIRDPARTY
Expand All @@ -42,6 +42,7 @@ skip = migrations
ignore_whitespace = True
known_oemof = oemof
sections=FUTURE,STDLIB,THIRDPARTY,OEMOF,FIRSTPARTY,LOCALFOLDER
from_first = True

[matrix]
# This is the configuration for the `./bootstrap.py` script.
Expand Down
13 changes: 4 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function
from __future__ import absolute_import, print_function

from glob import glob
from os.path import basename, dirname, join, splitext
import io
import re
from glob import glob
from os.path import basename
from os.path import dirname
from os.path import join
from os.path import splitext

from setuptools import find_packages
from setuptools import setup
from setuptools import find_packages, setup


def read(*names, **kwargs):
Expand Down

0 comments on commit d8a0a40

Please sign in to comment.