Skip to content

Commit

Permalink
prepare for 0.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
psycofdj committed Apr 7, 2016
1 parent 8b03d8b commit 462c7dd
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 21 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ SOURCES=$(shell find . -name '*.py' | grep -v test_)
SOURCEDIRS=$(shell find . -name '*.py' | grep -v test | xargs dirname | sort -u)
TESTS=$(shell find . -name 'test_*.py')

all: cov covdoc cov pylint dist

.doc-built: $(SOURCES) $(TESTS) Makefile
@make -s -C docs html
@touch $@
Expand All @@ -17,6 +19,10 @@ check: $(SOURCES)
@./devtools/coverage.sh
@touch $@

.dist-built: $(SOURCES) Makefile setup.py setup.cfg
@./setup.py sdist
@touch $@

.pylint-built: $(SOURCES) Makefile
@mkdir -p build/pylint/
@./devtools/xtdlint.py --rcfile=.pylintrc -j4 xtd -f html > build/pylint/index.html || true
Expand All @@ -27,12 +33,11 @@ check: $(SOURCES)
@coverage3 html -d build/coverage
@touch $@

all: cov covdoc cov pylint

cov: .cov-built .cov-report-built
covdoc: .covdoc-built
doc: .doc-built
pylint: .pylint-built
dist: .dist-built

show-cov: .cov-report-built
@sensible-browser build/coverage/index.html &
Expand All @@ -46,4 +51,4 @@ show-pylint: .pylint-built
show: all show-doc show-cov show-covdoc show-pylint

clean:
@rm -rf xtd.egg-info dist build .cov-built .cov-report-built .coverage .doc-built .covdoc-built
@rm -rf .dist-built xtd.egg-info dist build .cov-built .cov-report-built .coverage .doc-built .covdoc-built
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None)}

sys.path.append("..")
sys.path.insert(0, "..")

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down
29 changes: 13 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,23 @@

#------------------------------------------------------------------#

import sys
from distutils.core import setup
from setuptools import find_packages

sys.path.insert(0, ".")

import xtd

setup(
name = 'xtd',
packages = find_packages(exclude=["*test*"]),
version = '0.3.1',
description = 'High level library to quickly build strong python apps',
author = 'Xavier MARCELET',
author_email = 'xavier@marcelet.com',
url = 'https://github.com/psycofdj/xtd',
download_url = 'https://github.com/psycofdj/xtd/tarball/0.3.1',
keywords = ['xtd', 'python', 'library', 'high-level'],
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules"
],
version = xtd.__version__,
description = xtd.__description__,
author = xtd.__author__.split("<")[0].strip(),
author_email = xtd.__author__.split("<")[1].split(">")[0].strip(),
url = xtd.__url__,
download_url = xtd.__download_url__,
keywords = xtd.__keywords__,
classifiers = xtd.__classifiers__
)
16 changes: 15 additions & 1 deletion xtd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,23 @@ def my_function(self):
"""

__description__ = "High level library to quickly build strong python apps"
__version__ = "0.4.0"
__author__ = "Xavier MARCELET <xavier@marcelet.com>"
__url__ = "https://github.com/psycofdj/xtd"
__download_url__ = "https://github.com/psycofdj/xtd/tarball/%s" % __version__
__keywords__ = ['xtd', 'python', 'library', 'high-level']
__classifiers__ = [
"Development Status :: 2 - Pre-Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules"
]


__author__ = "Xavier MARCELET <xavier@marcelet.com>"

#------------------------------------------------------------------#

Expand Down

0 comments on commit 462c7dd

Please sign in to comment.