Skip to content

Commit

Permalink
Altered setup and added MANIFEST.in
Browse files Browse the repository at this point in the history
  • Loading branch information
P-T-I committed Sep 3, 2021
1 parent cc1e26f commit 6b2a4c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include requirements.txt
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

from setuptools import setup, find_packages

from version import VERSION
try:
from version import VERSION
except ModuleNotFoundError:
_PKG_DIR = os.path.dirname(__file__)
version_file = os.path.join(_PKG_DIR, "CveXplore", "VERSION")
with open(version_file, "r") as fdsec:
VERSION = fdsec.read()

# The directory containing this file
HERE = os.path.abspath(os.path.dirname(__file__))
Expand Down

0 comments on commit 6b2a4c5

Please sign in to comment.