|
6 | 6 | from setuptools import setup |
7 | 7 | from setuptools import Command |
8 | 8 |
|
9 | | -SHORT_DESCRIPTION = 'Domain models framework for Python projects' |
10 | | - |
11 | 9 |
|
12 | 10 | # Getting description: |
13 | 11 | with open('README.rst') as readme_file: |
14 | 12 | description = readme_file.read() |
15 | 13 |
|
16 | | - # Removing duplicated short description. |
17 | | - description = description.replace(SHORT_DESCRIPTION, '') |
18 | | - |
19 | 14 | # Getting requirements: |
20 | 15 | with open('requirements.txt') as version: |
21 | 16 | requirements = version.readlines() |
@@ -45,17 +40,20 @@ def run(self): |
45 | 40 | os.system('git push --tags') |
46 | 41 |
|
47 | 42 |
|
48 | | -setup(name='domain_models', |
| 43 | +setup(name='domain-models', |
49 | 44 | version=version, |
50 | | - description=SHORT_DESCRIPTION, |
51 | | - long_description=SHORT_DESCRIPTION, |
| 45 | + description='Domain models framework for Python projects', |
| 46 | + long_description=description, |
52 | 47 | author='ETS Labs', |
53 | 48 | author_email='rmogilatov@gmail.com', |
54 | 49 | maintainer='ETS Labs', |
55 | 50 | maintainer_email='rmogilatov@gmail.com', |
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', |
57 | 54 | license='BSD New', |
58 | 55 | packages=['domain_models'], |
| 56 | + platforms=['any'], |
59 | 57 | zip_safe=True, |
60 | 58 | install_requires=requirements, |
61 | 59 | cmdclass={ |
|
0 commit comments