Skip to content

Commit b22280b

Browse files
committed
Update links in setup.py script
1 parent 38190f4 commit b22280b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

setup.py

+7-9
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,11 @@
66
from setuptools import setup
77
from setuptools import Command
88

9-
SHORT_DESCRIPTION = 'Domain models framework for Python projects'
10-
119

1210
# Getting description:
1311
with open('README.rst') as readme_file:
1412
description = readme_file.read()
1513

16-
# Removing duplicated short description.
17-
description = description.replace(SHORT_DESCRIPTION, '')
18-
1914
# Getting requirements:
2015
with open('requirements.txt') as version:
2116
requirements = version.readlines()
@@ -45,17 +40,20 @@ def run(self):
4540
os.system('git push --tags')
4641

4742

48-
setup(name='domain_models',
43+
setup(name='domain-models',
4944
version=version,
50-
description=SHORT_DESCRIPTION,
51-
long_description=SHORT_DESCRIPTION,
45+
description='Domain models framework for Python projects',
46+
long_description=description,
5247
author='ETS Labs',
5348
author_email='[email protected]',
5449
maintainer='ETS Labs',
5550
maintainer_email='[email protected]',
56-
url='https://github.com/ets-labs/domain_models',
51+
url='https://github.com/ets-labs/python-domain-models',
52+
bugtrack_url='https://github.com/ets-labs/python-domain-models/issues',
53+
download_url='https://pypi.python.org/pypi/domain_models',
5754
license='BSD New',
5855
packages=['domain_models'],
56+
platforms=['any'],
5957
zip_safe=True,
6058
install_requires=requirements,
6159
cmdclass={

0 commit comments

Comments
 (0)