()
| 7 | |
| 8 | # Read version from package |
| 9 | def get_version(): |
| 10 | version_file = os.path.join(os.path.dirname(__file__), 'datakit_local', '__init__.py') |
| 11 | with open(version_file, 'r') as f: |
| 12 | for line in f: |
| 13 | if line.startswith('__version__'): |
| 14 | return line.split('=')[1].strip().strip('"').strip("'") |
| 15 | return "0.1.0" |
| 16 | |
| 17 | setup( |
| 18 | name="datakit-local", |
no test coverage detected