Skip to content

Commit

Permalink
Convert to new style namespace packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ksunden committed Jun 5, 2024
1 parent c461fa2 commit cbe0cb6
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 28 deletions.
4 changes: 2 additions & 2 deletions packages/basemap/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import glob
import warnings
from setuptools import setup
from setuptools import find_packages
from setuptools import find_namespace_packages
from setuptools.command.sdist import sdist
from setuptools.extension import Extension

Expand Down Expand Up @@ -230,7 +230,7 @@ def run(self):
"package_dir":
{"": "src"},
"packages":
find_packages(where="src"),
find_namespace_packages(where="src"),
"ext_modules":
ext_modules,
"data_files":
Expand Down
6 changes: 0 additions & 6 deletions packages/basemap/src/mpl_toolkits/__init__.py

This file was deleted.

4 changes: 2 additions & 2 deletions packages/basemap_data/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import itertools
from setuptools import setup
from setuptools import find_packages
from setuptools import find_namespace_packages


def get_content(name, splitlines=False):
Expand Down Expand Up @@ -114,7 +114,7 @@ def get_content(name, splitlines=False):
"package_dir":
{"": "src"},
"packages":
find_packages(where="src"),
find_namespace_packages(where="src"),
"package_data": {
"mpl_toolkits.basemap_data":
data_files,
Expand Down
4 changes: 0 additions & 4 deletions packages/basemap_data/src/mpl_toolkits/__init__.py

This file was deleted.

This file was deleted.

4 changes: 2 additions & 2 deletions packages/basemap_data_hires/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os
import itertools
from setuptools import setup
from setuptools import find_packages
from setuptools import find_namespace_packages


def get_content(name, splitlines=False):
Expand Down Expand Up @@ -92,7 +92,7 @@ def get_content(name, splitlines=False):
"package_dir":
{"": "src"},
"packages":
find_packages(where="src"),
find_namespace_packages(where="src"),
"package_data": {
"mpl_toolkits.basemap_data":
data_files,
Expand Down
4 changes: 0 additions & 4 deletions packages/basemap_data_hires/src/mpl_toolkits/__init__.py

This file was deleted.

This file was deleted.

0 comments on commit cbe0cb6

Please sign in to comment.