setup.py 806 Bytes
Newer Older
1 2 3 4
"""
This is a setup script for those that are familiar with setuptooll. You can
also just setup the paths and necessary dependencies in any other way you wish.
"""
5
from setuptools import setup, find_packages
6 7 8 9 10 11 12 13


#===============================================================================
def main():
    # Start package setup
    setup(
        name="nomadcore",
        version="0.1",
14
        description="Tools for NOMAD parser development.",
15
        package_dir={'': 'common/python'},
16
        packages=find_packages("common/python"),
17 18
        package_data={
            'nomadcore.unit_conversion': ['*.txt'],
19
            'nomadcore.md_data_access': ['test/*'],
20
            'nomadcore.metainfo_storage': ['*.txt'],
21
        }
22 23 24 25 26
    )

# Run main function by default
if __name__ == "__main__":
    main()