-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fadcc43
commit fe1b967
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
from setuptools import setup, find_packages | ||
from os import path | ||
from ctlearn.version import * | ||
|
||
def getVersionFromFile(): | ||
file = open("versionBackup.txt").readlines() | ||
for line in file: | ||
for word in line.split(): | ||
return word | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
with open(path.join(here, 'README.rst'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
setup(name='ctlearn', | ||
version=get_version_pypi(), | ||
version=getVersionFromFile(), | ||
author="CTLearn Team", | ||
author_email="[email protected]", | ||
description='Deep learning analysis framework for Imaging Atmospheric Cherenkov Telescopes, especially the Cherenkov Telescope Array (CTA) and the MAGIC telescopes.', | ||
|