add setup
This commit is contained in:
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
|
||||
# Distribution / packaging
|
||||
*.egg-info/
|
||||
7
README
Normal file
7
README
Normal 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
21
setup.py
Normal 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'],
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user