[med-svn] [python-mne] 371/376: preparing 0.1 release
Yaroslav Halchenko
debian at onerussian.com
Fri Nov 27 17:23:23 UTC 2015
This is an automated email from the git hooks/post-receive script.
yoh pushed a commit to annotated tag v0.1
in repository python-mne.
commit 2e624ce85127f7d94991b6738294d5a8a8f2554b
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date: Fri Sep 23 13:28:38 2011 -0400
preparing 0.1 release
---
MANIFEST.in | 6 ++++--
Makefile | 3 +++
setup.cfg | 10 +++++-----
setup.py | 31 ++++---------------------------
4 files changed, 16 insertions(+), 34 deletions(-)
diff --git a/MANIFEST.in b/MANIFEST.in
index 228d8e2..74bc737 100755
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,5 +1,7 @@
include *.rst
include mne/__init__.py
-recursive-include doc *
-recursive-include examples *
+# recursive-include doc *
+recursive-include examples *.py
+recursive-include examples *.txt
recursive-include mne *.py
+recursive-include mne/fiff/tests/data *
diff --git a/Makefile b/Makefile
index 5f2492d..0d69dde 100755
--- a/Makefile
+++ b/Makefile
@@ -42,3 +42,6 @@ ctags:
# make tags for symbol based navigation in emacs and vim
# Install with: sudo apt-get install exuberant-ctags
$(CTAGS) -R *
+
+upload-pipy:
+ python setup.py sdist bdist_egg register upload
diff --git a/setup.cfg b/setup.cfg
index 2b0467a..299c8be 100755
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,15 +1,15 @@
[aliases]
release = egg_info -RDb ''
# Make sure the sphinx docs are built each time we do a dist.
-bdist = build_sphinx bdist
-sdist = build_sphinx sdist
+# bdist = build_sphinx bdist
+# sdist = build_sphinx sdist
# Make sure a zip file is created each time we build the sphinx docs
-build_sphinx = generate_help build_sphinx zip_help
+# build_sphinx = generate_help build_sphinx zip_help
# Make sure the docs are uploaded when we do an upload
-upload = upload upload_help
+# upload = upload upload_help
[egg_info]
-tag_build = .dev
+# tag_build = .dev
[bdist_rpm]
doc-files = doc
diff --git a/setup.py b/setup.py
index 439b0af..398d104 100755
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ DESCRIPTION = 'MNE python project for MEG and EEG data analysis'
LONG_DESCRIPTION = descr
MAINTAINER = 'Alexandre Gramfort'
MAINTAINER_EMAIL = 'gramfort at nmr.mgh.harvard.edu'
-URL = 'http://github.com/mne-tools/mne-python'
+URL = 'http://martinos.org/mne'
LICENSE = 'BSD (3-clause)'
DOWNLOAD_URL = 'http://github.com/mne-tools/mne-python'
VERSION = mne.__version__
@@ -22,32 +22,10 @@ VERSION = mne.__version__
import setuptools # we are using a setuptools namespace
from numpy.distutils.core import setup
-# For some commands, use setuptools
-if len(set(('develop', 'sdist', 'release', 'bdist_egg', 'bdist_rpm',
- 'bdist', 'bdist_dumb', 'bdist_wininst', 'install_egg_info',
- 'build_sphinx', 'egg_info', 'easy_install', 'upload',
- )).intersection(sys.argv)) > 0:
- from setupegg import extra_setuptools_args
-
-# extra_setuptools_args is injected by the setupegg.py script, for
-# running the setup with setuptools.
-if not 'extra_setuptools_args' in globals():
- extra_setuptools_args = dict()
-
-
-# if nose available, provide test command
-try:
- from nose.commands import nosetests
- cmdclass = extra_setuptools_args.pop('cmdclass', {})
- cmdclass['test'] = nosetests
- cmdclass['nosetests'] = nosetests
- extra_setuptools_args['cmdclass'] = cmdclass
-except ImportError:
- pass
-
if __name__ == "__main__":
- if os.path.exists('MANIFEST'): os.remove('MANIFEST')
+ if os.path.exists('MANIFEST'):
+ os.remove('MANIFEST')
setup(name = DISTNAME,
maintainer = MAINTAINER,
@@ -81,5 +59,4 @@ if __name__ == "__main__":
'mne.minimum_norm', 'mne.minimum_norm.tests',
'mne.layouts',
'mne.time_frequency', 'mne.time_frequency.tests'],
- scripts=['bin/mne_clean_eog_ecg.py', 'bin/mne_flash_bem_model.py'],
- **extra_setuptools_args)
+ scripts=['bin/mne_clean_eog_ecg.py', 'bin/mne_flash_bem_model.py'])
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git
More information about the debian-med-commit
mailing list