edwardpopoola / pypaystack

A python wrapper for the Paystack API
MIT License
39 stars 32 forks source link

Can't upload my app to heroku because of this dependency #11

Open Walexero opened 2 years ago

Walexero commented 2 years ago

I think the issue is coming from the fact that there's no requirements.txt file for this dependency, it would it great if you can provide one

sorXCode commented 2 years ago

Add this line to your requirements.txt file

pypaystack==1.24

nifex007 commented 2 years ago

@Walexero did the pypaystack==1.24 inclusion to the requirement file fix the issue ?

Walexero commented 2 years ago

I was able to make it work but I didn't put it into the requirement.txt file, I copied the files thats needed to initiate the paystack API and added it as a folder into my project so heroku wouldn't have to install it as a dependency

On Wed, 1 Dec 2021, 10:17 Nifemi SOLA-OJO, @.***> wrote:

@Walexero https://github.com/Walexero did the pypaystack==1.24 inclusion to the requirement file fix the issue ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/edwardpopoola/pypaystack/issues/11#issuecomment-983442332, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVWZ3SZ6FQBHJH7V4WGJTSTUOXRZNANCNFSM5EO7X2MQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

gray-adeyi commented 2 years ago

Hi! I've republished this package as pypaystack2

pip install pypaystack2

No major changes were made it still works like pypaystack but you'll have to import from pypaystack2 more info at PyPaystack2

gray-adeyi commented 2 years ago

Just published a new version. I made some changes that aren't backwards compatible with it. But I've tried hard to create a documentation for it you can check it out here. https://pypi.org/project/pypaystack2/

gray-adeyi commented 2 years ago

Hi! I just got a message from someone trying to use pypaystack2 about a bug. "error importing Optional from optparse". that's my fault. if you're experiencing the same issue i've fixed it in the version 1.0.1.

gray-adeyi commented 2 years ago

Just added a simple tutorial to the documentation. you can find it out here https://gray-adeyi.github.io/pypaystack2/paystack-client-turorial.html

gray-adeyi commented 1 year ago

Merry Christmas developers! I'm glad to announce the release of version 1.0.2 of pypaystack2. Fixed bugs and included the the new Terminal API from paystack and a new way of using the API wrappers more info in the link https://gray-adeyi.github.io/pypaystack2/how-to-guides/