kopia lustrzana https://github.com/marceloprates/prettymaps
Added presets JSON files to setup.py's 'data_files'
rodzic
1bdaf93b9e
commit
d60744fbe7
Plik binarny nie jest wyświetlany.
18
setup.py
18
setup.py
|
@ -1,7 +1,9 @@
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
import os
|
||||||
|
|
||||||
parent_dir = Path(__file__).resolve().parent
|
parent_dir = Path(__file__).resolve().parent
|
||||||
|
presets_dir = os.path.abspath(os.path.join(os.path.pardir, 'presets'))
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="prettymaps",
|
name="prettymaps",
|
||||||
|
@ -13,9 +15,21 @@ setup(
|
||||||
author="Marcelo Prates",
|
author="Marcelo Prates",
|
||||||
author_email="marceloorp@gmail.com",
|
author_email="marceloorp@gmail.com",
|
||||||
license="MIT License",
|
license="MIT License",
|
||||||
packages=find_packages(exclude=("assets", "notebooks", "prints", "script")),
|
packages=find_packages(
|
||||||
install_requires=parent_dir.joinpath("requirements.txt").read_text().splitlines(),
|
exclude=("assets", "notebooks", "prints", "script")),
|
||||||
|
install_requires=parent_dir.joinpath(
|
||||||
|
"requirements.txt").read_text().splitlines(),
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Intended Audience :: Science/Research",
|
"Intended Audience :: Science/Research",
|
||||||
],
|
],
|
||||||
|
data_files=[(presets_dir, [
|
||||||
|
'presets/barcelona-plotter.json',
|
||||||
|
'presets/barcelona.json',
|
||||||
|
'presets/cb-bf-f.json',
|
||||||
|
'presets/default.json',
|
||||||
|
'presets/heerhugowaard.json',
|
||||||
|
'presets/macao.json',
|
||||||
|
'presets/minimal.json',
|
||||||
|
'presets/minimal.json',
|
||||||
|
])],
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue