瀏覽代碼

Packaging updates

Signed-off-by: Stan Janssen <stan.janssen@elaad.nl>
Stan Janssen 4 年之前
父節點
當前提交
4a8175b9f6
共有 3 個文件被更改,包括 6 次插入2 次删除
  1. 1 1
      .github/workflows/test-suite.yml
  2. 1 0
      MANIFEST.in
  3. 4 1
      setup.py

+ 1 - 1
.github/workflows/test-suite.yml

@@ -37,4 +37,4 @@ jobs:
         flake8 openleadr/ --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
     - name: Test with pytest
       run: |
-        pytest -v --tb=no test/
+        pytest -vv test/

+ 1 - 0
MANIFEST.in

@@ -1,5 +1,6 @@
 include openleadr/templates/*.xml
 include openleadr/templates/parts/*.xml
 include openleadr/schema/*.xsd
+include openleadr/schema/LICENSES.txt
 include VERSION
 exclude test/*

+ 4 - 1
setup.py

@@ -28,8 +28,11 @@ setup(name='openleadr',
       description='Python library for dealing with OpenADR',
       long_description=long_description,
       long_description_content_type='text/markdown',
-      url='https://openleadr.elaad.io',
+      url='https://openleadr.org',
+      project_urls={'GitHub': 'https://github.com/openleadr/openleadr-python',
+                    'Documentation': 'https://openleadr.org/docs'},
       packages=['openleadr', 'openleadr.service'],
+      python_requires='>=3.7.0',
       include_package_data=True,
       install_requires=['xmltodict', 'aiohttp', 'apscheduler', 'jinja2', 'signxml-openadr==2.9.1'],
       entry_points={'console_scripts': ['fingerprint = openleadr.fingerprint:show_fingerprint']})