Creating a setup.py file
authorcgeoffroy <geoffroy.chollon@thalesgroup.com>
Thu, 3 Mar 2016 18:01:59 +0000 (19:01 +0100)
committercgeoffroy <geoffroy.chollon@thalesgroup.com>
Thu, 3 Mar 2016 18:01:59 +0000 (19:01 +0100)
setup.cfg [new file with mode: 0644]
setup.py [new file with mode: 0644]

diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
index 0000000..9af7e6f
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[aliases]
+test=pytest
\ No newline at end of file
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..dcda018
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,23 @@
+from setuptools import setup, find_packages
+
+setup(name='emuvim',
+      version='0.0.1',
+      license='TODO',
+      description='emuvim is a VIM for the SONATA platform',
+      url='http://github.com/sonata-emu',
+      author_email='sonata-dev@sonata-nfv.eu',
+      package_dir={'': 'src'},
+      # packages=find_packages('emuvim', exclude=['*.test', '*.test.*', 'test.*', 'test']),
+      packages=find_packages('src'),
+      install_requires=[
+          'pyaml',
+      ],
+      zip_safe=False,
+      entry_points={
+          'console_scripts': [
+              'son-emu-cli=emuvim.cli.son_emu_cli:main',
+          ],
+      },
+      setup_requires=['pytest-runner'],
+      tests_require=['pytest'],
+)