30 lines
691 B
Plaintext
30 lines
691 B
Plaintext
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
|