-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from sot/de-namespace
De namespace
- Loading branch information
Showing
8 changed files
with
33 additions
and
24 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
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
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 |
---|---|---|
@@ -1,20 +1,29 @@ | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
from setuptools import setup | ||
from testr.setup_helper import cmdclass | ||
from ska_helpers.setup_helper import duplicate_package_info | ||
|
||
try: | ||
from testr.setup_helper import cmdclass | ||
except ImportError: | ||
cmdclass = {} | ||
name = "ska_dbi" | ||
namespace = "Ska.DBI" | ||
|
||
setup(name='Ska.DBI', | ||
packages = ["ska_dbi", "ska_dbi.tests"] | ||
package_dir = {name: name} | ||
package_data = {'ska_dbi.tests': ['ska_dbi_test_table.sql']} | ||
|
||
duplicate_package_info(packages, name, namespace) | ||
duplicate_package_info(package_dir, name, namespace) | ||
duplicate_package_info(package_data, name, namespace) | ||
|
||
setup(name=name, | ||
author='Tom Aldcroft', | ||
description='Database interface utilities', | ||
author_email='taldcroft@cfa.harvard.edu', | ||
use_scm_version=True, | ||
setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'], | ||
zip_safe=False, | ||
packages=['Ska', 'Ska.DBI', 'Ska.DBI.tests'], | ||
package_data={'Ska.DBI.tests': ['ska_dbi_test_table.sql']}, | ||
package_dir=package_dir, | ||
packages=packages, | ||
package_data=package_data, | ||
tests_require=['pytest'], | ||
cmdclass=cmdclass, | ||
) |
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
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
File renamed without changes.
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
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