22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# https://packaging.python.org/en/latest/single_source_version.html
version='${version}',
description='French grammar checker',
#long_description=long_description,
# The project's main homepage.
url='https://grammalecte.net',
# Author details
author='Olivier R.',
#author_email='fuckoff.noreply@nowhere.nw',
# Choose your license
license='GPL3',
|
|
|
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# https://packaging.python.org/en/latest/single_source_version.html
version='${version}',
description='French grammar checker',
#long_description=long_description,
# The project's main homepage.
url='http://grammalecte.net',
# Author details
author='Olivier R.',
#author_email='fuckoff.noreply@nowhere.nw',
# Choose your license
license='GPL3',
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='French grammar checker correcteur grammatical français',
# Scripts
script=['cli.py', 'server.py', 'bootle.py'],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
# packages=find_packages(exclude=['contrib', 'docs', 'tests']),
packages=['grammalecte', 'grammalecte.fr'],
# Alternatively, if you want to distribute just a my_module.py, uncomment
|
|
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='French grammar checker correcteur grammatical français',
# Scripts
scripts=['grammalecte-cli.py', 'grammalecte-server.py', 'bottle.py'],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
# packages=find_packages(exclude=['contrib', 'docs', 'tests']),
packages=['grammalecte', 'grammalecte.fr'],
# Alternatively, if you want to distribute just a my_module.py, uncomment
|
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
data_files=[('', ['cli.py', 'server.py', 'bottle.py', 'README.txt', 'LICENSE.txt', \
'server_options.fr.ini', 'server_options._global.ini'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
|
|
|
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
data_files=[('', ['grammalecte-cli.py', 'grammalecte-server.py', 'bottle.py', 'README.txt', 'LICENSE.txt', \
'server_options.fr.ini', 'server_options._global.ini'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
)
|