dotfiles/vim/UltiSnips/python.snippets

30 lines
691 B
Plaintext
Raw Normal View History

2023-06-16 14:11:27 +02:00
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",
2023-12-29 21:07:22 +01:00
author_email="assistenza@bgworld.it",
description="${2:description}",
2023-06-16 14:11:27 +02:00
scripts=[
'scripts/$1'
],
2023-12-29 21:07:22 +01:00
install_requires=[
2023-06-16 14:11:27 +02:00
'click==7.1.2',
'inotify==0.2.10',
'nose==1.3.7',
'PyPDF2==1.26.0',
'python-magic==0.4.18',
],
package_data={
2023-12-29 21:07:22 +01:00
'dagherroforo': ['dagherroforo_example.conf'],
2023-06-16 14:11:27 +02:00
},
)
endsnippet