add setup

This commit is contained in:
2019-02-08 16:05:51 +01:00
parent e6f553d169
commit e9973b1bbf
6 changed files with 34 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# Distribution / packaging
*.egg-info/

7
README Normal file
View File

@@ -0,0 +1,7 @@
* Install
Install in "development mode" so any change of the program is effective.
pip install -e .
* Uninstall
pip uninstall materials

21
setup.py Normal file
View File

@@ -0,0 +1,21 @@
from setuptools import setup, find_packages
setup(
name="materials",
version="2019.02.08",
#description="",
#long_description="",
author="Daniel Weschke",
author_email="daniel.weschke@directbox.de",
package_dir={'': 'src'},
packages=find_packages("src"),
py_scripts = [ # List of all single modules in src
'materials.py',
],
#install_requires=[
# '',
#],
entry_points={
'console_scripts': ['materials=materials:main'],
}
)