Skip to content

Commit

Permalink
v2 -- fixing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
nikbpetrov committed Jun 5, 2021
1 parent ccc21e9 commit a570137
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# file GENERATED by distutils, do NOT edit
setup.cfg
setup.py
crosswalktest\__init__.py
crosswalktest\crosswalk.py
crosswalktest\diagnostics.py
crosswalktest\helper_funcs.py
4 changes: 2 additions & 2 deletions crosswalktest/crosswalk.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import numpy as np
import matplotlib.pyplot as plt

import helper_funcs
import diagnostics
from . import helper_funcs
from . import diagnostics

def crosswalk(source_filepath, source_shape_id, target_filepath, target_shape_id,
tolerance_percent = 10, tolerance_units = None,
Expand Down
2 changes: 1 addition & 1 deletion crosswalktest/diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from docx import Document

import helper_funcs
from . import helper_funcs

def get_diagnostics_obj(source_shape, source_shape_id, target_shape, target_shape_id, intersect_unedited, intersect, tolerance_percent, tolerance_units, tolerance_values_sim_prop):
units = helper_funcs.get_projection_units(source_shape, target_shape)
Expand Down
Binary file added dist/crosswalktest-v1.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
setup(
name = 'crosswalktest', # How you named your package folder (MyLib)
packages = ['crosswalktest'], # Chose the same as "name"
version = 'v1', # Start with a small number and increase it with every change you make
version = 'v2', # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description = 'Crosswalk test', # Give a short description about your library
author = 'Nikolay & Andres', # Type in your name
author_email = '[email protected]', # Type in your E-Mail
url = 'https://github.com/nikbpetrov/crosswalktest', # Provide either the link to your github or to your website
download_url = 'https://github.com/nikbpetrov/crosswalktest/archive/refs/tags/v1.tar.gz', # I explain this later on
download_url = 'https://github.com/nikbpetrov/crosswalktest/archive/refs/tags/v2.tar.gz', # I explain this later on
keywords = ['crosswalk'], # Keywords that define your package best
install_requires=[ # I get to this in a second
'pandas',
Expand Down

0 comments on commit a570137

Please sign in to comment.