Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup, consolidate and propose minor version bump #1

Closed
wants to merge 26 commits into from

Conversation

moreati
Copy link
Contributor

@moreati moreati commented Jun 23, 2015

Sorry it's all at once, I'm still learning GitHub's UI. If this is too much just reject it and I'll figure out how to break it into smaller chunks.

This pull request

  • Removes support for Python prior to 2.6
  • Removes support for OS X prior to 10.6 (Snow Leopard), including #ifdefs for TIGER
  • Proposes 1.7.0 as the next pyscard release
  • Makes setup.py the single source of truth for pyscard's version
  • Moves the Changelog, TODO and ACKS into the project root
  • Deletes the duplicate README and LICENCE in smartcard/
  • Adds smartcard.pyro to distributed packages
  • Switches to setuptools for build/packaging
  • Adds initial support for building pyscard on Appveyor and Travis
  • Tightens try/except blocks to avoid catching e.g. SystemExit, SyntaxError
  • Adds initial pylint configuration
  • Fixes several major errors and warnings found with pylint
  • Reformats the supported methods/attributes docstrings in pyscard.i as tables

This also fixes Mac OS X Lion options being selected on Snow Leopard -
due to misordered of elif blocks.
The remaining instance will now print a full traceback. This should
improve on with https://sourceforge.net/p/pyscard/bugs/8/, or at least
make it easier to solve
5 undefined variables remain unfixed, they appear to be missing
`smartcard.scard.scard` exports
```
************* Module smartcard.pcsc.PCSCReader
E: 67,22: Undefined variable 'SCardIntroduceReader' (undefined-variable)
E: 70,22: Undefined variable 'SCardAddReaderToGroup' (undefined-
variable)
E: 85,22: Undefined variable 'SCardRemoveReaderFromGroup' (undefined-
variable)
************* Module smartcard.pcsc.PCSCReaderGroups
E: 66,22: Undefined variable 'SCardIntroduceReaderGroup' (undefined-
variable)
E: 90,22: Undefined variable 'SCardForgetReaderGroup' (undefined-
variable)
```
…INFO

PKG-INFO and included in the sdist package each time setup.py is run.
Storing it in source control is redundant.
@LudovicRousseau
Copy link
Owner

Woua!
I will cherry-pick and reorganise the patches.

@LudovicRousseau
Copy link
Owner

I rebased your patches above master and committed all of them except 2:

These 2 patches are too big and mix different unrelated modifications. They will also conflict with the python3 branch so they will need to be reworked. I propose to postpone these 2 patches for now.

@LudovicRousseau
Copy link
Owner

Most of the patches applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants