Browse Source

added installer script and MANIFEST.in

digital 7 years ago
parent
commit
195e79c050
2 changed files with 121 additions and 0 deletions
  1. 53 0
      MANIFEST.in
  2. 68 0
      setup.py

+ 53 - 0
MANIFEST.in

@@ -0,0 +1,53 @@
+# Copyright 2017 Digital
+#
+# This file is part of BeeWatch.
+#
+# BeeWatch is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# BeeWatch is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with BeeWatch.  If not, see <http://www.gnu.org/licenses/>.
+
+graft sample
+graft src
+include Makefile
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#

+ 68 - 0
setup.py

@@ -0,0 +1,68 @@
+#!/usr/bin/env python3.5
+# Copyright 2017 Digital
+#
+# This file is part of DigiLib.
+#
+# DigiLib is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# DigiLib is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with DigiLib.  If not, see <http://www.gnu.org/licenses/>.
+
+from distutils.core import setup
+
+setup_kwargs = {
+    'name':'DigiLib',
+    'version': '0.1',
+    'description':'General library',
+    'author':'Digital',
+    'author_email':'[email protected]',
+    'url':'https://digilib.readthedocs.io',
+    'packages':[
+        'digilib',
+        'digilib.gui',
+        'digilib.misc',
+        'digilib.network',
+        'digilib.pin',
+    ],
+    'package_dir':{
+        'digilib':'src/digilib'
+    },
+}
+
+setup(**setup_kwargs)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#