Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rcervinoucm authored Jun 11, 2024
1 parent fadcc43 commit fe1b967
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions setup.py
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.',
Expand Down

0 comments on commit fe1b967

Please sign in to comment.