Skip to content

Commit

Permalink
Simplify versioneer configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
george-hopkins committed Jan 12, 2018
1 parent e75257f commit 0ab1af4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

import os, io, re, sys

import versioneer

from setuptools import find_packages, setup

trove_classifiers=[
Expand All @@ -32,13 +34,6 @@
]

PKG=u'pyutil'
VERSIONFILE = os.path.join(PKG, u"_version.py")

import versioneer
versioneer.versionfile_source = VERSIONFILE
versioneer.versionfile_build = VERSIONFILE
versioneer.tag_prefix = PKG+u'-' # tags are like pyutil-1.2.0
versioneer.parentdir_prefix = PKG+u'-' # dirname like 'myproject-1.2.0'

doc_fnames=[ u'COPYING.SPL.txt', u'COPYING.GPL', u'COPYING.TGPPL.rst', u'README.rst', u'CREDITS' ]

Expand Down

0 comments on commit 0ab1af4

Please sign in to comment.