#!/usr/bin/env python
from setuptools import setup, find_packages
from pkg_resources import get_distribution, DistributionNotFound

with open('requirements.txt') as fobj:
    requirements = [l.strip() for l in fobj.readlines()]

setup(
    name='orcanet',
    description='Runs Neural Networks for usage in the KM3NeT project',
    url='https://git.km3net.de/ml/OrcaNet',
    version='1.0',
    author='Michael Moser, Stefan Reck',
    author_email='mmoser@km3net.de, michael.m.moser@fau.de, stefan.reck@fau.de',
    license='AGPL',
    install_requires=requirements,
    packages=find_packages(),
    include_package_data=True,

    # setup_requires=['setuptools_scm'],
    # use_scm_version={
    #     'write_to': 'orcanet/version.txt',
    #     'tag_regex': r'^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$',
    # },
    # classifiers=[
    #     'Development Status :: 3 - Alpha',
    #     'Intended Audience :: Developers',
    #     'Intended Audience :: Science/Research',
    #     'Programming Language :: Python',
    #]
)

__author__ = 'Michael Moser and Stefan Reck'
@@ -369,27 +369,8 @@
 t',%0A
-    version='1.0',%0A
     
@@ -607,18 +607,16 @@
 ue,%0A%0A   
- #
  setup_r
@@ -646,18 +646,16 @@
 m'%5D,%0A   
- #
  use_scm
@@ -664,26 +664,24 @@
 ersion=%7B%0A   
- #
      'write_
@@ -707,26 +707,24 @@
 on.txt',%0A   
- #
      'tag_re
@@ -791,19 +791,15 @@
 %0A   
- #
  %7D,%0A   
- #
  cla
@@ -808,26 +808,24 @@
 ifiers=%5B%0A   
- #
      'Develo
@@ -851,26 +851,24 @@
  Alpha',%0A   
- #
      'Intend
@@ -899,22 +899,20 @@
 s',%0A    
-#
     
- 
 'Intende
@@ -947,18 +947,16 @@
 ch',%0A   
- #
      'Pr
@@ -990,17 +990,16 @@
 n',%0A    
-#
 %5D%0A)%0A%0A__a
@@ -1027,20 +1027,21 @@
 ser and Stefan Reck'
+%0A

Fix pypi versioning.