-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Maxime Vergez
committed
Dec 6, 2022
1 parent
2badedf
commit 70b0139
Showing
1 changed file
with
31 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,47 +3,49 @@ | |
|
||
|
||
root_dir = Path(__file__).absolute().parent | ||
with (root_dir / 'VERSION').open() as f: | ||
with (root_dir / "VERSION").open() as f: | ||
version = f.read() | ||
with (root_dir / 'README.rst').open() as f: | ||
with (root_dir / "README.rst").open() as f: | ||
long_description = f.read() | ||
with (root_dir / 'requirements.in').open() as f: | ||
with (root_dir / "requirements.in").open() as f: | ||
requirements = f.read().splitlines() | ||
|
||
|
||
setuptools.setup( | ||
name='gn_module_monitoring', | ||
name="gn_module_monitoring", | ||
version=version, | ||
description="GeoNature", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
maintainer='Parcs nationaux des Écrins et des Cévennes', | ||
maintainer_email='[email protected]', | ||
url='https://github.com/PnX-SI/gn_module_monitoring', | ||
packages=setuptools.find_packages('backend'), | ||
package_dir={'': 'backend'}, | ||
package_data={'gn_module_monitoring.migrations': ['data/*.sql']}, | ||
long_description_content_type="text/markdown", | ||
maintainer="Parcs nationaux des Écrins et des Cévennes", | ||
maintainer_email="[email protected]", | ||
url="https://github.com/PnX-SI/gn_module_monitoring", | ||
packages=setuptools.find_packages("backend"), | ||
package_dir={"": "backend"}, | ||
package_data={"gn_module_monitoring.migrations": ["data/*.sql"]}, | ||
install_requires=requirements, | ||
tests_require=[], | ||
zip_safe=False, | ||
entry_points={ | ||
'gn_module': [ | ||
'code = gn_module_monitoring:MODULE_CODE', | ||
'picto = gn_module_monitoring:MODULE_PICTO', | ||
'blueprint = gn_module_monitoring.blueprint:blueprint', | ||
'config_schema = gn_module_monitoring.conf_schema_toml:GnModuleSchemaConf', | ||
'migrations = gn_module_monitoring:migrations', | ||
"gn_module": [ | ||
"code = gn_module_monitoring:MODULE_CODE", | ||
"picto = gn_module_monitoring:MODULE_PICTO", | ||
"blueprint = gn_module_monitoring.blueprint:blueprint", | ||
"config_schema = gn_module_monitoring.conf_schema_toml:GnModuleSchemaConf", | ||
"migrations = gn_module_monitoring:migrations", | ||
], | ||
}, | ||
classifiers=['Development Status :: 1 - Planning', | ||
'Intended Audience :: Developers', | ||
'Natural Language :: English', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'License :: OSI Approved :: GNU Affero General Public License v3' | ||
'Operating System :: OS Independent'], | ||
) | ||
classifiers=[ | ||
"Development Status :: 1 - Planning", | ||
"Intended Audience :: Developers", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"License :: OSI Approved :: GNU Affero General Public License v3" | ||
"Operating System :: OS Independent", | ||
], | ||
) |