Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mapiris
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Duchateau Fabien
mapiris
Commits
be8bf69d
Commit
be8bf69d
authored
6 years ago
by
Duchateau Fabien
Browse files
Options
Downloads
Patches
Plain Diff
add MANIFEST.in and setup files
parent
6ef1b098
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MANIFEST.in
+14
-0
14 additions, 0 deletions
MANIFEST.in
setup.cfg
+36
-0
36 additions, 0 deletions
setup.cfg
setup.py
+20
-0
20 additions, 0 deletions
setup.py
with
70 additions
and
0 deletions
MANIFEST.in
0 → 100644
+
14
−
0
View file @
be8bf69d
# MANIFEST.IN commands: https://docs.python.org/3/distutils/commandref.html
include README.md LICENSE MANIFEST.in
# graft includes all files under a directory
graft ./mapiris/templates
graft ./mapiris/static
recursive-exclude * .DS_Store
# recursive-include dir pattern # recursively include all files following pattern under the directory dir
# recursive-exclude dir pattern # recursively exclude all files following pattern under the directory dir
# prune dir # prune excludes all files under a directory
This diff is collapsed.
Click to expand it.
setup.cfg
0 → 100644
+
36
−
0
View file @
be8bf69d
[metadata]
name
= mapiris
version
= 0.1
description
= This package aims at searching and printing IRIS on a map.
author
= Fabien Duchateau
author_email
= fabien.duchateau@univ-lyon1.fr
url
= https://gitlab.liris.cnrs.fr/fduchate/mapiris
download_url
= https://gitlab.liris.cnrs.fr/fduchate/mapiris
keywords
= visualization search INSEE IRIS
license_file
= LICENSE
[options]
packages
= find:
include_package_data
= True
zip_safe
= False
install_requires
=
flask
>= 1.0.2
mongiris
>= 0.21
dependency_links
=
git+https://fduchate@gitlab.liris.cnrs.fr/fduchate/mongiris.git#egg=mongiris-0.21
#[options.packages.find]
#exclude
=
# tests.*,
# data/HiL/*
[options.package_data]
# package_data
is ignored when a MANIFEST.in is provided
. =
README.md,
mapiris/static
= vizliris/static/
**
mapiris/templates
= vizliris/templates/
*
mapiris/data
= vizliris/data/
**
[bdist_wheel]
universal
= 1
This diff is collapsed.
Click to expand it.
setup.py
0 → 100755
+
20
−
0
View file @
be8bf69d
#!/usr/bin/env python
from
setuptools
import
setup
import
shutil
# python3 -m setup bdist_wheel sdist
# python3 -m pip install -e ../mapiris/
# installation: python -m pip install -e ../mapiris/ --process-dependency-links
def
delete_dir
(
directories
):
# delete directories (ignore errors such as read-only files)
for
directory
in
directories
:
shutil
.
rmtree
(
directory
,
ignore_errors
=
True
)
# delete build/config directories because egg-info only updates config files for new versions
delete_dir
([
'
./mapiris.egg-info/
'
,
'
./build/
'
,
'
./dist/
'
])
readme
=
open
(
"
README.md
"
).
read
()
setup
(
long_description
=
readme
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment