Skip to content

Py3 compat #5

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
diffpy/_version.py export-subst
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,3 @@ nosetests.xml
.project
.pydevproject
.settings

# version information
setup.cfg
/diffpy/srxplanar/version.cfg
/diffpy/confutils/version.cfg
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ include AUTHORS.txt LICENSE.txt README.md
include setup.cfg
exclude MANIFEST.in
recursive-exclude diffpy *.pyc
include versioneer.py
include diffpy/_version.py
4 changes: 4 additions & 0 deletions diffpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@

__import__('pkg_resources').declare_namespace(__name__)


from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Loading