Skip to content

Commit

Permalink
Added Version File, Manifest.in; updated setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Dec 14, 2018
1 parent 8cac3a8 commit cd31090
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
4 changes: 4 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,4 @@
include README.md
include VERSION
include tagmaps/classes/*
include tagmaps/tests/*
1 change: 1 addition & 0 deletions VERSION
@@ -0,0 +1 @@
0.9.31
7 changes: 6 additions & 1 deletion cx_setup.py
@@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-

import sys
from cx_Freeze import setup, Executable

Expand All @@ -7,6 +9,9 @@
os.environ['TCL_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tcl8.6')
os.environ['TK_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tk8.6')

with open('VERSION') as version_file:
version_var = version_file.read().strip()

# Dependencies are automatically detected, but it might need fine tuning.
#build_exe_options = {"packages": ["os"], "excludes": []}
includes_mod = ["tkinter.filedialog",
Expand Down Expand Up @@ -46,7 +51,7 @@
]

setup( name = "tagmaps",
version = "0.9.3",
version = version_var,
description = "Tag Clustering for Tag Maps",
options = {'build_exe': {'includes': includes_mod, 'include_files': include_folders_files,'packages':packages_mod,'excludes':excludes_mod}},
executables = executables)
11 changes: 9 additions & 2 deletions setup.py
Expand Up @@ -5,11 +5,13 @@

with open('README.md') as f:
long_description = f.read()


with open('VERSION') as version_file:
version_var = version_file.read().strip()

## setuptools dev
setup( name = "tagmaps",
version = "0.9.3",
version = version_var,
description = "Tag Clustering for Tag Maps",
long_description=long_description,
long_description_content_type='text/markdown',
Expand All @@ -18,7 +20,12 @@
url='https://gitlab.vgiscience.de/ad/TagCluster',
license='GNU GPLv3 or any higher',
packages=['tagmaps'],
include_package_data=True,
install_requires=[
'shapely',
'emoji',
'tkinter',
'hdbscan'
],
entry_points={
'console_scripts': [
Expand Down

0 comments on commit cd31090

Please sign in to comment.