-
Notifications
You must be signed in to change notification settings - Fork 2
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
62dd95b
commit 4f6866f
Showing
7 changed files
with
23 additions
and
11 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
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
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 |
---|---|---|
|
@@ -4,3 +4,11 @@ | |
from IQM_Vis.metrics import IQMs | ||
from IQM_Vis import examples | ||
from IQM_Vis import utils | ||
|
||
# Changing the version number will action GitHub to push to PyPi the new version | ||
__version__ = '0.2.5.86' | ||
|
||
# Author info | ||
__author__ = "Matt Clifford" | ||
__email__ = "[email protected]" | ||
__license__ = "BSD 3-Clause" |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/python3 | ||
|
||
'''Get the current version of package locally (github repo)''' | ||
# Author: Matt Clifford <[email protected]> | ||
import IQM_Vis | ||
|
||
|
||
if __name__ == '__main__': | ||
print(IQM_Vis.__version__) |
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,18 +1,13 @@ | ||
# Author: Matt Clifford <[email protected]> | ||
from setuptools import setup, find_packages | ||
import IQM_Vis | ||
|
||
|
||
def get_long_description(): | ||
with open('README.md', encoding="utf-8") as f: | ||
text = f.read() | ||
return text | ||
|
||
def get_version(): | ||
with open('VERSION') as f: | ||
ver = f.read() | ||
while ver[-1] == '\n': | ||
ver = ver[:-1] | ||
return ver | ||
|
||
def dependencies_from_file(file_path): | ||
required = [] | ||
|
@@ -25,8 +20,9 @@ def dependencies_from_file(file_path): | |
required.append(l_c) | ||
return required | ||
|
||
|
||
setup(name='IQM-Vis', | ||
version=get_version(), | ||
version=IQM_Vis.__version__, | ||
packages=find_packages(), | ||
include_package_data=True, | ||
install_requires=dependencies_from_file('./requirements.txt'), | ||
|