Aggiunto template per file setup.py.

This commit is contained in:
Emiliano Vavassori 2023-06-16 14:11:27 +02:00
parent 92536ac5e8
commit db4ce2af2c
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
snippet setup "Creates the base of a setup.py file." b
from setuptools import setup, find_packages
setup(
name='${1:${VISUAL:package_name}}',
version="0.1.0",
packages=find_packages(),
license="MIT",
url="https://www.bgworld.it",
# Metadata for pypi
author="BgWorld Unipersonale Srl",
author_email = "assistenza@bgworld.it",
description = "${2:description}",
scripts=[
'scripts/$1'
],
install_requires = [
'click==7.1.2',
'inotify==0.2.10',
'nose==1.3.7',
'PyPDF2==1.26.0',
'python-magic==0.4.18',
],
package_data={
'dagherroforo': [ 'dagherroforo_example.conf' ],
},
)
endsnippet