Skip to content

Commit

Permalink
Finally fix installation of photon requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsWinter committed Feb 21, 2019
1 parent 2ccf4f7 commit babf490
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
3 changes: 2 additions & 1 deletion photonai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

from . import configuration
from .configuration.Register import PhotonRegister
__version__ = "0.4.0"
from ..setup import __version__



__all__ = ("base",
Expand Down
16 changes: 11 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
from distutils.core import setup
from setuptools import find_packages
import photonai
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages


__version__ = '0.4.0'

setup(
name='photonai',
packages=find_packages(),
include_package_data=True,
version=photonai.__version__,
version=__version__,
description='A Python-Based Hyperparameter optimization Toolbox for Neural Networks',
author='PHOTON Team',
author_email='[email protected]',
url='https://github.com/photonai-team/photonai.git',
download_url='https://github.com/photonai-team/photonai/archive/' + photonai.__version__ + '.tar.gz',
download_url='https://github.com/photonai-team/photonai/archive/' + __version__ + '.tar.gz',
keywords=['machine learning', 'deep learning', 'neural networks', 'hyperparameter'],
classifiers=[],
install_requires=[
Expand Down

0 comments on commit babf490

Please sign in to comment.