Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrpac6689 authored Nov 4, 2024
1 parent 7362c30 commit 7340df6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
from setuptools import setup, find_packages

# Lendo as dependências do arquivo requirements.txt, filtrando linhas vazias e caracteres não reconhecidos
# Lendo as dependências do arquivo requirements.txt, garantindo UTF-8
with open('requirements.txt', encoding='utf-8') as f:
requirements = f.read().splitlines()
# Filtra apenas linhas que não estão vazias e que não são comentários
requirements = [line.strip() for line in requirements if line.strip() and not line.startswith("#")]

# Lendo a descrição longa (README.md), garantindo UTF-8
with open('README.md', encoding='utf-8') as f:
long_description = f.read()

setup(
name='AutoReg',
version='4.2.1',
packages=find_packages(),
include_package_data=True,
install_requires=requirements, # Usa as dependências do requirements.txt limpas
install_requires=requirements,
entry_points={
'console_scripts': [
'autoreg=autoreg4_2_1:main', # Nome do comando para execução do seu programa
'autoreg=autoreg4_2_1:main',
],
},
author='Michel Ribeiro Paes',
description='AUTOREG - Operação automatizada de Sistemas - SISREG & G-HOSP',
long_description=open('README.md').read(),
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/seu_usuario/seu_repositorio',
classifiers=[
Expand Down

0 comments on commit 7340df6

Please sign in to comment.