https://github.com/aiidateam/aiida_core
Tip revision: 5e38e612117161fea2de63e2b410efa857bc72d6 authored by Sebastiaan Huber on 18 May 2017, 21:28:53 UTC
Merge pull request #528 from giovannipizzi/release-0.8.1
Merge pull request #528 from giovannipizzi/release-0.8.1
Tip revision: 5e38e61
setup.py
# -*- coding: utf-8 -*-
###########################################################################
# Copyright (c), The AiiDA team. All rights reserved. #
# This file is part of the AiiDA code. #
# #
# The code is hosted on GitHub at https://github.com/aiidateam/aiida_core #
# For further information on the license, see the LICENSE.txt file #
# For further information please visit http://www.aiida.net #
###########################################################################
import fastentrypoints
from os import path
from setuptools import setup, find_packages
from setup_requirements import install_requires, extras_require
if __name__ == '__main__':
# Get the version number
aiida_folder = path.split(path.abspath(__file__))[0]
fname = path.join(aiida_folder, 'aiida', '__init__.py')
with open(fname) as aiida_init:
ns = {}
exec(aiida_init.read(), ns)
aiida_version = ns['__version__']
bin_folder = path.join(aiida_folder, 'bin')
setup(
name='aiida-core',
url='http://www.aiida.net/',
license='MIT License',
author="The AiiDA team",
author_email='developers@aiida.net',
include_package_data=True, # puts non-code files into the distribution, reads list from MANIFEST.in
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
],
version=aiida_version,
install_requires=install_requires,
extras_require=extras_require,
packages=find_packages(),
entry_points={
'console_scripts': [
'verdi=aiida.cmdline.verdilib:run'
],
# following are AiiDA plugin entry points:
'aiida.calculations': [],
'aiida.parsers': [],
'aiida.cmdline': [],
'aiida.schedulers': [],
'aiida.transports': [],
'aiida.workflows': [],
},
scripts=['bin/runaiida'],
long_description=open(path.join(aiida_folder, 'README.rst')).read(),
)