Skip to content

Commit

Permalink
create setup file for distribution, update ignored files
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrfura committed Apr 26, 2023
1 parent 2e97260 commit 7399462
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.idea/
venv/
.env
dist/
*.egg-info/
output.py
__pycache__/
4 changes: 4 additions & 0 deletions openai_helper/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from openai_helper.main import main

if __name__ == "__main__":
main()
13 changes: 13 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from setuptools import setup

#python3 setup.py sdist

setup(
name='openai_helper',
version='0.1',
description='Shorten and format code like a pro and add docstrings.',
url='https://github.com/pf-github-pl/openai_helper',
license='GNU GPL3',
packages=['openai_helper'],
install_requires=["python-dotenv==1.0.0", "openai==0.27.4"]
)

0 comments on commit 7399462

Please sign in to comment.