-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor dependencies and installation
There are hard copies of the graphviz and pyyaml dependencies included in the repo. Remove these. Sort out installation and dependency handling by writing a functional setup.py script. Rename top level documentation. Refactor wireviz.py slightly to allow it to run as an installed script. # Conflicts: # src/batch.py # src/wireviz/batch.py # src/wireviz/build_examples.py
- Loading branch information
Showing
33 changed files
with
117 additions
and
7,217 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
.DS_Store | ||
temp/ | ||
.eggs | ||
__pycache__ | ||
.*.swp | ||
*.egg-info | ||
*.pyc | ||
build | ||
data | ||
dist |
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
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 @@ | ||
. |
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,45 @@ | ||
#!/usr/bin/python3 | ||
|
||
import os | ||
from setuptools import setup, find_packages | ||
|
||
project_name = 'wireviz' | ||
|
||
# Utility function to read the README file. | ||
# Used for the long_description. It's nice, because now 1) we have a top level | ||
# README file and 2) it's easier to type in the README file than to put a raw | ||
# string in below ... | ||
def read(fname): | ||
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
|
||
setup( | ||
This comment has been minimized.
Sorry, something went wrong. |
||
name=project_name, | ||
version='0.1', | ||
This comment has been minimized.
Sorry, something went wrong. |
||
author='Daniel Rojas', | ||
#author_email='', | ||
description='Easily document cables and wiring harnesses', | ||
long_description=read(os.path.join(os.path.dirname(__file__), 'README.md')), | ||
This comment has been minimized.
Sorry, something went wrong. |
||
long_description_content_type='text/markdown', | ||
install_requires=[ | ||
'pyyaml', | ||
This comment has been minimized.
Sorry, something went wrong. |
||
'graphviz', | ||
], | ||
license='GPLv3', | ||
keywords='cable connector hardware harness wiring wiring-diagram wiring-harness', | ||
url='https://github.com/n42/WireViz', | ||
package_dir={'': 'src'}, | ||
packages=find_packages('src'), | ||
entry_points={ | ||
'console_scripts': ['wireviz=wireviz.wireviz:main'], | ||
}, | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Console', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Topic :: Utilities', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
], | ||
|
||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
all the metadata can be moved into
setup.cfg
leavingsetup()