Skip to content

Commit 3b86aa7

Browse files
committed
Turn into a more complete releasable package
- bundle tests in the release - include a changelog file
1 parent 5b0a208 commit 3b86aa7

File tree

7 files changed

+44
-2
lines changed

7 files changed

+44
-2
lines changed

.gitreview

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[gerrit]
2+
host=gerrit.sqlalchemy.org
3+
project=sqlalchemy/sqlalchemy-collectd
4+
defaultbranch=master
5+
port=29418
6+

MANIFEST.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
recursive-include */tests *.py
2+
3+
include *.conf
4+
include README* LICENSE changelog.rst tox.ini
5+
6+
7+

changelog.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
==========
3+
Changelog
4+
==========
5+
6+
.. changelog::
7+
:version: 0.0.3
8+
:include_notes_from: unreleased_changes
9+
10+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def run_tests(self):
5757
author_email='[email protected]',
5858
url='https://github.com/sqlalchemy/sqlalchemy-collectd',
5959
license='MIT',
60-
packages=find_packages(".", exclude=["*.tests"]),
60+
packages=find_packages(".", exclude=["examples*", "*.tests"]),
6161
include_package_data=True,
6262
tests_require=['pytest', 'mock'],
6363
cmdclass={'test': PyTest},

sqlalchemy_collectd/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.0.2'
1+
__version__ = '0.0.3'

unreleased_changes/README.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Individual per-changelog files go here
2+
in .rst format, which are pulled in by
3+
changelog (version 0.4.0 or higher) to
4+
be rendered into the changelog.rst file.
5+
At release time, the files here are removed and written
6+
directly into the changelog.
7+
8+
Rationale is so that multiple changes being merged
9+
into gerrit don't produce conflicts. Note that
10+
gerrit does not support custom merge handlers unlike
11+
git itself.
12+
13+

unreleased_changes/rel.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.. change::
2+
:tags: change
3+
4+
Included tests within the Pypi release, establihsed a
5+
package manifest as well as added this changelog.
6+

0 commit comments

Comments
 (0)