Skip to content

Commit

Permalink
Added setup.py. Converted all input paths into platform independent p…
Browse files Browse the repository at this point in the history
…aths (pathlib).
  • Loading branch information
r3nt0n committed Jun 21, 2020
1 parent 9242241 commit 133047a
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
14 changes: 0 additions & 14 deletions r3ntlib/d.py

This file was deleted.

3 changes: 2 additions & 1 deletion r3ntlib/os_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
__status__ = 'Development'

import os, subprocess
from pathlib import Path

# wmi impoted in OS systems

Expand Down Expand Up @@ -41,7 +42,7 @@ def find_files(root_path, files_to_exclude):
exclude = True
break # Don't keep testing files excluded if it matches one
if not exclude:
files_list.append(os.path.join(root, name))
files_list.append(Path(root) / name)
return files_list


Expand Down
18 changes: 18 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# r3nt0n
# https://github.com/r3nt0n/wiper


from setuptools import setup, find_packages

setup(
name='wiper',
author='r3nt0n',
author_email='[email protected]',
url='https://github.com/r3nt0n/wiper',
version='0.5-beta',
license='GNU General Public License v3.0',
packages=['r3ntlib',],
scripts=['wiper.py'],
)

0 comments on commit 133047a

Please sign in to comment.