Aggiunto template per file setup.py.
This commit is contained in:
parent
92536ac5e8
commit
db4ce2af2c
29
vim/UltiSnips/python.snippets
Normal file
29
vim/UltiSnips/python.snippets
Normal 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
|
Loading…
Reference in New Issue
Block a user