Comments (8)
I have no trouble with gitchangelog v2.4.1.
from gitchangelog.
Thank you for your interest. I'm in the process of releasing the v3.0.0 that should air in the following days. In the current master you'll find a revised packaging that should work in your setup. If you have the time to check it on your computer, this could help me ensure that it is working on OSX correctly.
Sorry for the inconvenience.
from gitchangelog.
BTW, what does your pip show -f gitchangelog
says ?
from gitchangelog.
$ pip show -f gitchangelog
Name: gitchangelog
Version: 2.5.1
Summary: gitchangelog generates a changelog thanks to git log.
Home-page: http://github.com/vaab/gitchangelog
Author: Valentin LAB
Author-email: [email protected]
License: UNKNOWN
Location: /Users/me/virtualenv/tmp/lib/python2.7/site-packages
Requires:
Files:
../../../bin/gitchangelog
../../../gitchangelog.rc.reference
../../../templates/mako/octobercms-plugin.tpl
../../../templates/mako/restructuredtext.tpl
../../../templates/mustache/markdown.tpl
../../../templates/mustache/restructuredtext.tpl
gitchangelog-2.5.1.dist-info/DESCRIPTION.rst
gitchangelog-2.5.1.dist-info/INSTALLER
gitchangelog-2.5.1.dist-info/METADATA
gitchangelog-2.5.1.dist-info/RECORD
gitchangelog-2.5.1.dist-info/WHEEL
gitchangelog-2.5.1.dist-info/entry_points.txt
gitchangelog-2.5.1.dist-info/metadata.json
gitchangelog-2.5.1.dist-info/top_level.txt
gitchangelog.py
gitchangelog.pyc
from gitchangelog.
How you can check your packaging
Create a release, for instance a wheel (the new standard), avoid sdist
:
python setup.py clean --all egg_info --tag-build="" -D bdist_wheel
Then create a new virtualenv for testing:
cd your/tmp/dir/
virtualenv dummy
source dummy/bin/activate
pip install -U pip setuptools wheel # optional
Install your newly created package (located in the dist/
subdirectory):
pip install path/to/your/project/dist/gitchangelog-X.Y.Z-py3-none-any.whl
Then test it:
cd your/directory/with/gitchangelog/rc/
gitchangelog
Alternative
Use check-manifest
from gitchangelog.
Looking at your gitchangelog -f
, I confirm the location of gitchangelog.rc.reference
is not what it was expected (and this changes depending on a lot of factors). I confirm also that this was tackled in the master branch. This is related to the very poor and changing support of the combination of 2 facts:
- I'm using one-file packages (that was claimed to be supported, but is not)
- And the usage of "data_file" with an hack (an option that was necessary fore one-file packages to get their data files correctly placed, a quite common situation, django was using it for instance - a long time ago).
So I had to change gitchangelog to full-package, forced by the unfortunately ill situation of python packaging. This was done a few days before, and I introduced a full matrix that tests a huge combinations of setuptools versions, python versions, ways of installation (pip install, python setup.py, usage of whl or tar.gz, usage from source), wether you are in a virtualenv or not... And this is working with the last version (un-released yet) and showed lot of inconsistencies, but the last version proposed seems to work (except with v3.6 and old versions of python packagings packages, which is a unlikely combination).
And, BTW, I wanted to integrate check-manifest
to my evergrowing lists of tests around the packaging, and it doesn't work for some reason... I'm not that surprised TBH, and feel quite secure with my last test matrix.
Although I don't have cross platform testing done, and I couldn't test this on OSX, I'm not expecting big problems now. So you can install it through::
pip install git+git://github.com/vaab/gitchangelog.git
I'm not sure that your 2.4.1 was working as expected (despite working in your case), I forced the check on existence of gitchangelog.rc.reference
in 2.5.1, and you could avoid having it in 2.4.1 only if you provided a complete .gitchangelog.rc
. Your current report makes me feel uneasy now with this last move, and I might move towards the support of not having access to gitchangelog.rc.reference
and provide consistent docs about it if it runs into trouble because of that.
from gitchangelog.
The PR for the new merged packaging is #67
The distribution checks are located in the last part of the travis file : https://github.com/vaab/gitchangelog/blob/master/.travis.yml
This is not interpreted by travis but by a local tool I use before releasing.
from gitchangelog.
I'm happy to announce that version 3.0.0 that was just released and have dealt with packaging issues.
from gitchangelog.
Related Issues (20)
- setup.cfg contains ascii characters HOT 4
- [WinError 2] The system cannot find the file specified HOT 3
- ignore_regexps doesnt match against whole message, only subject
- regexp filter skipping matches
- Added an AUR package.
- Update Readme to include basic full example. HOT 2
- Exception with FileInsertIntoFirstRegexMatch HOT 2
- pystache missing as dependency? HOT 2
- UnicodeEncodeError character maps to undefined HOT 7
- Support for pre-commit
- How to show changelog since certain commit? HOT 1
- Use branch name for section categorisation HOT 1
- test failures caused by 3.0.4 package missing test/__init__.py
- Is this project still maintained ? HOT 2
- Slow execution on big repositories under Cygwin HOT 8
- Enhancement Request: Multi-package repo support HOT 1
- Request: drop d2to1
- Offering to help with the project HOT 6
- Branch tags are erroneously included into change log
- Changelog usage?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitchangelog.