Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit find_packages in setup.py to aiida (sub-)packages. #4204

Merged
merged 5 commits into from
Jun 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
include aiida/backends/tests/export_import_test_files/*.aiida
include aiida/backends/sqlalchemy/migrations/script.py.mako
include aiida/cmdline/templates/*.tpl
include aiida/manage/backup/backup_info.json.tmpl
include docs/source/images/*.png
include utils/*
include setup.json
include AUTHORS.txt
include CHANGELOG.md
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="docs/source/images/logo_aiida_main.png" alt="AiiDA" width="200"/>
# <img src="http://www.aiida.net/wp-content/uploads/2020/06/logo_aiida.png" alt="AiiDA" width="200"/>

AiiDA (www.aiida.net) is a workflow manager for computational science with a strong focus on provenance, performance and extensibility.

Expand Down
Binary file removed docs/source/images/logo_aiida_main.png
Binary file not shown.
33 changes: 0 additions & 33 deletions open_source_licenses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ Django:
Python:
* aiida/transports/transport.py

Fastep:
* utils/fastentrypoints.py

The respective copyright notices are reproduced below.

--------------------------------------------------------------------------
Expand Down Expand Up @@ -328,33 +325,3 @@ FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

-------------------------------------------------------------------------------

fastentrypoints.py Licence:

Copyright (c) 2016, Aaron Christianson
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = [ "setuptools>=40.8.0", "wheel", "reentry~=1.3",]
requires = [ "setuptools>=40.8.0", "wheel", "reentry~=1.3", "fastentrypoints~=0.12",]
build-backend = "setuptools.build_meta:__legacy__"
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
import os
import sys

from utils import fastentrypoints # pylint: disable=unused-import
try:
import fastentrypoints # pylint: disable=unused-import
except ImportError:
# This should only occur when building the package, i.e. when
# executing 'python setup.py sdist' or 'python setup.py bdist_wheel'
pass
from setuptools import setup, find_packages

if (sys.version_info.major, sys.version_info.minor) == (3, 5):
Expand Down Expand Up @@ -45,7 +50,7 @@
EXTRAS_REQUIRE['all'] = list({item for sublist in EXTRAS_REQUIRE.values() for item in sublist if item != 'bpython'})

setup(
packages=find_packages(),
packages=find_packages(include=['aiida', 'aiida.*']),
long_description=open(os.path.join(THIS_FOLDER, 'README.md')).read(),
long_description_content_type='text/markdown',
**SETUP_JSON
Expand Down
3 changes: 2 additions & 1 deletion utils/dependency_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ def generate_pyproject_toml():

pyproject = {
'build-system': {
'requires': ['setuptools>=40.8.0', 'wheel', str(reentry_requirement)],
'requires': ['setuptools>=40.8.0', 'wheel',
str(reentry_requirement), 'fastentrypoints~=0.12'],
'build-backend': 'setuptools.build_meta:__legacy__',
}
}
Expand Down
112 changes: 0 additions & 112 deletions utils/fastentrypoints.py

This file was deleted.