Skip to content

Commit 4d627b3

Browse files
committed
deploy pypi
1 parent 033f8bc commit 4d627b3

File tree

4 files changed

+41
-5
lines changed

4 files changed

+41
-5
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
__pycache__
22
*.pyc
33
*.ignore
4-
.venv
4+
.venv*
5+
build
6+
dist
7+
pybrcode.egg-info

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,13 @@ class Pix(object):
8282
Installation
8383
============
8484

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

92-
**PS: this lib isn't registered at PyPi yet. Please use the [Other Way](#other-way-downloading-this-code) instructions by now.**
93-
9492
Other way (downloading this code)
9593
--------------------------------
9694
You can hit download button or clone this repository to your own project src directory.

requirements.txt

-122 Bytes
Binary file not shown.

setup.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
from setuptools import setup, find_packages
2+
import codecs
3+
import os
4+
5+
here = os.path.abspath(os.path.dirname(__file__))
6+
7+
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
8+
long_description = "\n\n" + fh.read()
9+
10+
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
11+
12+
VERSION = '1.1'
13+
DESCRIPTION = 'Generate Pix QRCodes with any type of key'
14+
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.'
15+
16+
# Setting up
17+
setup(
18+
name="pybrcode",
19+
version=VERSION,
20+
author="viniciusmacielf (Vinícius Fonseca Maciel)",
21+
author_email="<viniciusmacielf@gmail.com>",
22+
description=DESCRIPTION,
23+
long_description_content_type="text/markdown",
24+
long_description=long_description,
25+
packages=find_packages(),
26+
install_requires=['crcmod', 'qrcode', 'Unidecode'],
27+
keywords=['python', 'pix', 'qrcode', 'brcode', 'svg pix qrcode'],
28+
classifiers=[
29+
"Intended Audience :: Developers",
30+
"Programming Language :: Python :: 3",
31+
"License :: OSI Approved :: MIT License",
32+
"Operating System :: OS Independent"
33+
],
34+
python_requires=">=3.6",
35+
)

0 commit comments

Comments
 (0)