-
Notifications
You must be signed in to change notification settings - Fork 111
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 #690 from effigies/maint/python_packaging
MAINT: Add Python deployment to CircleCI
- Loading branch information
Showing
4 changed files
with
68 additions
and
68 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,5 +1,34 @@ | ||
[metadata] | ||
description-file = README.md | ||
name = bids-validator | ||
url = https://github.com/bids-standard/bids-validator | ||
author = PyBIDS developers | ||
author_email = [email protected] | ||
maintainer = BIDS Developers | ||
maintainer_email = [email protected] | ||
description = Validator for the Brain Imaging Data Structure | ||
long_description = file:README.md | ||
long_description_content_type="text/markdown" | ||
license = MIT | ||
classifiers = | ||
Development Status :: 3 - Alpha | ||
Environment :: Console | ||
Intended Audience :: Science/Research | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Topic :: Scientific/Engineering | ||
|
||
[options] | ||
packages = find: | ||
include_package_data = True | ||
|
||
[options.package_data] | ||
bids_validator = | ||
rules/*.json | ||
tsv/*.json | ||
|
||
[bdist_wheel] | ||
universal=1 | ||
|
||
[versioneer] | ||
VCS = git | ||
|
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,33 +1,6 @@ | ||
#!/usr/bin/env python | ||
import os | ||
from setuptools import setup, find_packages | ||
from setuptools import setup | ||
import versioneer | ||
|
||
|
||
PACKAGES = find_packages() | ||
|
||
# Get version and release info, which is all stored in bids/version.py | ||
ver_file = os.path.join('bids_validator', 'version.py') | ||
with open(ver_file) as f: | ||
exec(f.read()) | ||
|
||
opts = dict(name=NAME, | ||
maintainer=MAINTAINER, | ||
maintainer_email=MAINTAINER_EMAIL, | ||
description=DESCRIPTION, | ||
url=URL, | ||
download_url=DOWNLOAD_URL, | ||
license=LICENSE, | ||
classifiers=CLASSIFIERS, | ||
author=AUTHOR, | ||
author_email=AUTHOR_EMAIL, | ||
platforms=PLATFORMS, | ||
version=versioneer.get_version(), | ||
cmdclass=versioneer.get_cmdclass(), | ||
packages=PACKAGES, | ||
package_data=PACKAGE_DATA, | ||
install_requires=REQUIRES) | ||
|
||
|
||
if __name__ == '__main__': | ||
setup(**opts) | ||
setup(version=versioneer.get_version(), | ||
cmdclass=versioneer.get_cmdclass()) |