Grammalecte  Check-in [ff0c994b3e]

Overview
Comment:[core] options filenames in setup.py
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | core | v0.6.1
Files: files | file ages | folders
SHA3-256: ff0c994b3e19e5e723b263e8173f075d2fb01805df355aec7667f4f09d6dc7b0
User & Date: olr on 2017-11-30 00:01:28
Other Links: manifest | tags
Context
2017-12-02
11:37
[fr] màj: confusion <abusé/abusif/abuser> check-in: dcc6a14f0d user: olr tags: trunk, fr
2017-11-30
00:01
[core] options filenames in setup.py check-in: ff0c994b3e user: olr tags: trunk, core, v0.6.1
2017-11-29
11:09
[core][py] Don’t use Python 3.6 syntax for Grammalecte core check-in: 82d2c8dea2 user: olr tags: trunk, core
Changes

Modified gc_lang/fr/setup.py from [651ab7645b] to [6dd81b2c5c].

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',
    #     ],
    # },
)







|










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', \
                      'grammalecte-server-options.fr.ini', 'grammalecte-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',
    #     ],
    # },
)