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

Create PyPI package #1

Open
jayvdb opened this issue Mar 7, 2019 · 7 comments
Open

Create PyPI package #1

jayvdb opened this issue Mar 7, 2019 · 7 comments

Comments

@jayvdb
Copy link

jayvdb commented Mar 7, 2019

Hi, it would be great if you could create a PyPI package for this, to become a replacement for the old dbfpy.

Happy to help with packaging setup if you like.

@antmoth
Copy link
Owner

antmoth commented Mar 7, 2019 via email

@jayvdb
Copy link
Author

jayvdb commented Mar 10, 2019

The first step is to clarify the licensing / attribution.

How much was derived from the previous 'dbfpy' package?

All commits are authored by you, so it isnt immediately obvious if you borrowed large chunks of code.
It doesnt matter if you did - but clarity is needed for distros to accept a package, so we may as well solve that now.

@jayvdb
Copy link
Author

jayvdb commented Mar 12, 2019

I see http://dbfpy.bzr.sourceforge.net/bzr/dbfpy/files has no mention of any license except public domain, which is a messy foundation, but it does make things easier as there are no terms to comply with.

@jayvdb
Copy link
Author

jayvdb commented Mar 12, 2019

https://packaging.python.org/ is the guide to follow.

If you go as far as creating a package on the test PyPI server, I will try using it as the source of an RPM package for openSUSE, to confirm it is ready to be published on the real PyPI server.

@jayvdb
Copy link
Author

jayvdb commented Mar 12, 2019

See https://github.com/kennethreitz/tablib/issues/273#issuecomment-471950390 , and potentially also look at working with @phargogh who produced https://github.com/phargogh/dbfpy3 , which has some open issues that may be also problems in this codebase.

@phargogh
Copy link

Hey everyone, happy to help here, both with packaging and with a python3 version of the package. I'm sure there'll be some additional things to figure out, since work has continued on the upstream dbfpy since I ported v2.2.5 to python3.

@antmoth
Copy link
Owner

antmoth commented Mar 13, 2019

It looks like everything in the initial commit is from the sourceforge dbfpy, and everything after that is mine. Some of the changes are pretty haphazard because I was modifying it solely for internal use and based on the output of a proprietary program I don't have access to.

I will follow the abovelinked guide for creating a package.

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

No branches or pull requests

3 participants