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

MAINT: Switch to a setup.cfg-style of installation #24

Merged
merged 6 commits into from
Jul 13, 2019
Merged

Conversation

oesteban
Copy link
Member

No description provided.

@oesteban oesteban requested a review from effigies July 12, 2019 23:41
Copy link
Contributor

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good. A few comments...

templateflow/__about__.py Outdated Show resolved Hide resolved
tox.ini Outdated Show resolved Hide resolved
TF_LAYOUT = Layout(
str(TF_HOME), validate=False, config='templateflow',
ignore=['.git', '.datalad', '.gitannex', '.gitattributes', 'scripts'])
except ImportError:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What condition should this happen under? You've got pybids ~= 0.9.2 in your install_requires.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason pybids is not available when running the update script during install - could dig more into this, but I'm not sure it's worthy.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you could add pybids to setup_requires and pyproject.toml. Very heavy lifts, though...

templateflow/conf/__init__.py Outdated Show resolved Hide resolved
from .bids import Layout
TF_LAYOUT = Layout(
str(TF_HOME), validate=False, config='templateflow',
ignore=['.git', '.datalad', '.gitannex', '.gitattributes', 'scripts'])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These may be automatically ignored these days... I might flag them for review in a future PR, though not worth the trouble for this PR, IMO.

oesteban and others added 2 commits July 13, 2019 12:18
Co-Authored-By: Chris Markiewicz <markiewicz@stanford.edu>
@oesteban oesteban merged commit df25cd5 into master Jul 13, 2019
@oesteban oesteban deleted the enh/setup.cfg branch July 13, 2019 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants