Skip to content

Commit

Permalink
Changed setup
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Oct 1, 2024
1 parent 183e557 commit 4a63a85
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pyproject.toml

This file was deleted.

22 changes: 22 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from setuptools import setup, find_packages

setup(
name='shufflepy', # Name of the package
version='0.0.1', # Version number
description='Connect to any API with a single line of code',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Fredrik Saito Odegaardstuen',
author_email='frikky@shuffler.io',
url='https://github.com/shuffle/shufflepy',
packages=find_packages(),
install_requires=[
'requests',
],
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.6', # Specify Python version requirements
)
File renamed without changes.
Binary file added shufflepy/__pycache__/module.cpython-312.pyc
Binary file not shown.
File renamed without changes.
23 changes: 23 additions & 0 deletions shufflepy/test_module.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# test_mymodule.py
import unittest
from module import Shuffle

class TestShuffle(unittest.TestCase):
def setUp(self):
self.shuffle = Shuffle("asdf1234")

def test_connect(self):
resp = self.shuffle.connect(
category="ticket",
app="ticket",
action="list_tickets"
)

#self.assertEqual(
# resp["status"],
# 3
#)

if __name__ == '__main__':
unittest.main()

0 comments on commit 4a63a85

Please sign in to comment.