from __future__ import print_function
from distutils.core import setup
import os

version = '1.0.0b'

# Append TeamCity build number if it gives us one.
if 'TC_BUILD_NUMBER' in os.environ and version.endswith('b'):
    version += '' + os.environ['TC_BUILD_NUMBER']

setup(name='fetch',
      maintainer='Jeremy Hooke',
      maintainer_email='jeremy.hooke@ga.gov.au',
      version=version,
      description='Automatic retrieval of ancillary and data',
      packages=[
          'fetch',
      ],
      scripts=[
          'bin/fetch-service'
      ],
      requires=[
          'neocommon',
          'requests',
          'feedparser',
          'lxml',
          'setproctitle',
          'pyyaml',
          'arrow'
      ]
)

from __future__ import print_function
from distutils.core import setup
import os

version = '1.0.0b'

# Append TeamCity build number if it gives us one.
if 'TC_BUILD_NUMBER' in os.environ and version.endswith('b'):
    version += '' + os.environ['TC_BUILD_NUMBER']

setup(name='fetch',
      maintainer='Jeremy Hooke',
      maintainer_email='jeremy.hooke@ga.gov.au',
      version=version,
      description='Automatic retrieval of ancillary and data',
      packages=[
          'fetch',
      ],
      scripts=[
          'bin/fetch-service'
      ],
      requires=[
          'arrow',
          'croniter',
          'feedparser',
          'lxml',
          'neocommon',
          'pyyaml',
          'requests',
          'setproctitle',
      ]
)

Add croniter dependency. Sort deps.
Add croniter dependency. Sort deps.

  from __future__ import print_function
  from distutils.core import setup
  import os
  
  version = '1.0.0b'
  
  # Append TeamCity build number if it gives us one.
  if 'TC_BUILD_NUMBER' in os.environ and version.endswith('b'):
      version += '' + os.environ['TC_BUILD_NUMBER']
  
  setup(name='fetch',
        maintainer='Jeremy Hooke',
        maintainer_email='jeremy.hooke@ga.gov.au',
        version=version,
        description='Automatic retrieval of ancillary and data',
        packages=[
            'fetch',
        ],
        scripts=[
            'bin/fetch-service'
        ],
        requires=[
-           'neocommon',
-           'requests',
+           'arrow',
+           'croniter',
            'feedparser',
            'lxml',
+           'neocommon',
+           'pyyaml',
+           'requests',
            'setproctitle',
-           'pyyaml',
-           'arrow'
        ]
  )
  
Add croniter dependency. Sort deps.
## Code Before:
from __future__ import print_function
from distutils.core import setup
import os

version = '1.0.0b'

# Append TeamCity build number if it gives us one.
if 'TC_BUILD_NUMBER' in os.environ and version.endswith('b'):
    version += '' + os.environ['TC_BUILD_NUMBER']

setup(name='fetch',
      maintainer='Jeremy Hooke',
      maintainer_email='jeremy.hooke@ga.gov.au',
      version=version,
      description='Automatic retrieval of ancillary and data',
      packages=[
          'fetch',
      ],
      scripts=[
          'bin/fetch-service'
      ],
      requires=[
          'neocommon',
          'requests',
          'feedparser',
          'lxml',
          'setproctitle',
          'pyyaml',
          'arrow'
      ]
)

## Instruction:
Add croniter dependency. Sort deps.
## Code After:
from __future__ import print_function
from distutils.core import setup
import os

version = '1.0.0b'

# Append TeamCity build number if it gives us one.
if 'TC_BUILD_NUMBER' in os.environ and version.endswith('b'):
    version += '' + os.environ['TC_BUILD_NUMBER']

setup(name='fetch',
      maintainer='Jeremy Hooke',
      maintainer_email='jeremy.hooke@ga.gov.au',
      version=version,
      description='Automatic retrieval of ancillary and data',
      packages=[
          'fetch',
      ],
      scripts=[
          'bin/fetch-service'
      ],
      requires=[
          'arrow',
          'croniter',
          'feedparser',
          'lxml',
          'neocommon',
          'pyyaml',
          'requests',
          'setproctitle',
      ]
)
