3 "calibcant: tools for thermally calibrating AFM cantilevers"
5 package_name = 'calibcant'
7 Development Status :: 2 - Pre-Alpha
8 Intended Audience :: Developers
9 Intended Audience :: Science/Research
10 Operating System :: POSIX
11 Operating System :: Unix
12 License :: OSI Approved :: GNU General Public License (GPL)
13 Programming Language :: Python
14 Topic :: Scientific/Engineering
15 Topic :: Software Development :: Libraries :: Python Modules
18 from distutils.core import setup
19 from os import walk, listdir
22 from calibcant import __version__
25 def find_packages(root='calibcant'):
27 prefix = '.'+os.path.sep
28 for dirpath,dirnames,filenames in walk(root):
29 if '__init__.py' in filenames:
30 if dirpath.startswith(prefix):
31 dirpath = dirpath[len(prefix):]
32 packages.append(dirpath.replace(os.path.sep, '.'))
35 packages = find_packages()
36 scripts = [os.path.join('bin', f) for f in sorted(os.listdir('bin'))]
38 setup(name=package_name,
40 maintainer='W. Trevor King',
41 maintainer_email='wking@tremily.us',
42 url='http://blog.tremily.us/posts/%s/' % package_name,
43 download_url='http://git.tremily.us/?p=calibcant.git;a=snapshot;h={};sf=tgz'.format(__version__),
44 license='GNU General Public License (GPL)',
47 long_description=open('README', 'r').read(),
48 classifiers=filter(None, classifiers.split('\n')),
51 provides=['calibcant (%s)' % __version__],
52 requires=['pypiezo (>= 0.5)'],