Giter Club home page Giter Club logo

Comments (8)

tantale avatar tantale commented on May 10, 2024

I have no trouble with gitchangelog v2.4.1.

from gitchangelog.

vaab avatar vaab commented on May 10, 2024

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.

vaab avatar vaab commented on May 10, 2024

BTW, what does your pip show -f gitchangelog says ?

from gitchangelog.

tantale avatar tantale commented on May 10, 2024

$ 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.

tantale avatar tantale commented on May 10, 2024

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.

vaab avatar vaab commented on May 10, 2024

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.

vaab avatar vaab commented on May 10, 2024

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.

vaab avatar vaab commented on May 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.