Skip to content
Snippets Groups Projects
Commit 0a8606f7 authored by David Hoese's avatar David Hoese
Browse files

removed mytime timestamp

parent 2bd1bbb9
Branches
No related tags found
No related merge requests found
...@@ -6,20 +6,16 @@ from setuptools import setup, find_packages ...@@ -6,20 +6,16 @@ from setuptools import setup, find_packages
import sys, os import sys, os
from datetime import datetime from datetime import datetime
from glob import glob from glob import glob
from metobs import mytime
classifiers = "" classifiers = ""
version = '0.3' version = '0.3'
filelist = [x for x in glob('metobs/**/*') if 'CVS' not in x] filelist = [x for x in glob('metobs/**/*') if 'CVS' not in x]
def most_recent_modification(filelist=[]):
return max( [datetime.fromtimestamp(os.stat(x).st_mtime, mytime.UTCTimezone()) for x in filelist] ).strftime('%Y%m%d.%H%M')
_requires = ['metobs.mytime', 'fpconst>=0.7.2', 'pydap'] _requires = ['metobs.mytime', 'fpconst>=0.7.2', 'pydap']
setup(name='metobs.data', setup(name='metobs.data',
version=version, # + '.' + most_recent_modification(filelist), version=version,
description="", description="",
long_description="""MetObs data processing libraries.""", long_description="""MetObs data processing libraries.""",
classifiers=filter(None, classifiers.split("\n")), classifiers=filter(None, classifiers.split("\n")),
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment