Skip to content

Commit

Permalink
deploy pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniciusFM committed Apr 13, 2023
1 parent 033f8bc commit 4d627b3
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
__pycache__
*.pyc
*.ignore
.venv
.venv*
build
dist
pybrcode.egg-info
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,13 @@ class Pix(object):
Installation
============

Easy way (PyPi repositories) - Not available yet
------------------------------------------------
Easy way (PyPi repositories)
----------------------------
By writing this line at your favorite terminal you can download the `pybrcode` library to use for your project.
```properties
pip3 install pybrcode
```

**PS: this lib isn't registered at PyPi yet. Please use the [Other Way](#other-way-downloading-this-code) instructions by now.**

Other way (downloading this code)
--------------------------------
You can hit download button or clone this repository to your own project src directory.
Expand Down
Binary file modified requirements.txt
Binary file not shown.
35 changes: 35 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
from setuptools import setup, find_packages
import codecs
import os

here = os.path.abspath(os.path.dirname(__file__))

with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n\n" + fh.read()

long_description = "\nGo to github [README.md](https://github.com/ViniciusFM/pybrcode/blob/main/README.md) to see this text in good format. Link: https://github.com/ViniciusFM/pybrcode/blob/main/README.md"+long_description

VERSION = '1.1'
DESCRIPTION = 'Generate Pix QRCodes with any type of key'
LONG_DESCRIPTION = 'The pybrcode is a python3 library that was built to help people to generate Pix QRCodes (BRCodes) using easy-to-understand and well documented functions.'

# Setting up
setup(
name="pybrcode",
version=VERSION,
author="viniciusmacielf (Vinícius Fonseca Maciel)",
author_email="<viniciusmacielf@gmail.com>",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
install_requires=['crcmod', 'qrcode', 'Unidecode'],
keywords=['python', 'pix', 'qrcode', 'brcode', 'svg pix qrcode'],
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
python_requires=">=3.6",
)

0 comments on commit 4d627b3

Please sign in to comment.